Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 1058
b: refs/heads/master
c: d4a1a73
h: refs/heads/master
v: v3
  • Loading branch information
Linus Torvalds committed May 6, 2005
1 parent 45f26ec commit 4e735ba
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 17 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f1690f37a526d46aa4eb55e832346a531ba850dd
refs/heads/master: d4a1a7322c8c6b9899851f8358eb3842c67de6bc
2 changes: 1 addition & 1 deletion trunk/arch/i386/kernel/acpi/boot.c
Original file line number Diff line number Diff line change
Expand Up @@ -650,7 +650,7 @@ acpi_find_rsdp (void)
*/
rsdp_phys = acpi_scan_rsdp (0, 0x400);
if (!rsdp_phys)
rsdp_phys = acpi_scan_rsdp (0xE0000, 0xFFFFF);
rsdp_phys = acpi_scan_rsdp (0xE0000, 0x20000);

return rsdp_phys;
}
Expand Down
7 changes: 0 additions & 7 deletions trunk/arch/ppc64/kernel/pSeries_smp.c
Original file line number Diff line number Diff line change
Expand Up @@ -326,13 +326,6 @@ static void __devinit smp_xics_setup_cpu(int cpu)

cpu_clear(cpu, of_spin_map);

/*
* Put the calling processor into the GIQ. This is really only
* necessary from a secondary thread as the OF start-cpu interface
* performs this function for us on primary threads.
*/
rtas_set_indicator(GLOBAL_INTERRUPT_QUEUE,
(1UL << interrupt_server_size) - 1 - default_distrib_server, 1);
}

static DEFINE_SPINLOCK(timebase_lock);
Expand Down
16 changes: 12 additions & 4 deletions trunk/arch/ppc64/kernel/xics.c
Original file line number Diff line number Diff line change
Expand Up @@ -432,16 +432,25 @@ void xics_cause_IPI(int cpu)
{
ops->qirr_info(cpu, IPI_PRIORITY);
}
#endif /* CONFIG_SMP */

void xics_setup_cpu(void)
{
int cpu = smp_processor_id();

ops->cppr_info(cpu, 0xff);
iosync();
}

#endif /* CONFIG_SMP */
/*
* Put the calling processor into the GIQ. This is really only
* necessary from a secondary thread as the OF start-cpu interface
* performs this function for us on primary threads.
*
* XXX: undo of teardown on kexec needs this too, as may hotplug
*/
rtas_set_indicator(GLOBAL_INTERRUPT_QUEUE,
(1UL << interrupt_server_size) - 1 - default_distrib_server, 1);
}

void xics_init_IRQ(void)
{
Expand Down Expand Up @@ -563,8 +572,7 @@ void xics_init_IRQ(void)
for (; i < NR_IRQS; ++i)
get_irq_desc(i)->handler = &xics_pic;

ops->cppr_info(boot_cpuid, 0xff);
iosync();
xics_setup_cpu();

ppc64_boot_msg(0x21, "XICS Done");
}
Expand Down
3 changes: 0 additions & 3 deletions trunk/include/asm-ppc64/xics.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,4 @@ struct xics_ipi_struct {

extern struct xics_ipi_struct xics_ipi_message[NR_CPUS] __cacheline_aligned;

extern unsigned int default_distrib_server;
extern unsigned int interrupt_server_size;

#endif /* _PPC64_KERNEL_XICS_H */
2 changes: 1 addition & 1 deletion trunk/sound/pci/via82xx.c
Original file line number Diff line number Diff line change
Expand Up @@ -1836,7 +1836,7 @@ static void __devinit snd_via82xx_proc_init(via82xx_t *chip)
*
*/

static int __devinit snd_via82xx_chip_init(via82xx_t *chip)
static int snd_via82xx_chip_init(via82xx_t *chip)
{
unsigned int val;
int max_count;
Expand Down

0 comments on commit 4e735ba

Please sign in to comment.