diff options
Diffstat (limited to 'arch/ia64')
| -rw-r--r-- | arch/ia64/kernel/acpi.c | 2 | ||||
| -rw-r--r-- | arch/ia64/kernel/mca.c | 10 |
2 files changed, 6 insertions, 6 deletions
diff --git a/arch/ia64/kernel/acpi.c b/arch/ia64/kernel/acpi.c index 92b7bc956795..9273e034b730 100644 --- a/arch/ia64/kernel/acpi.c +++ b/arch/ia64/kernel/acpi.c | |||
| @@ -796,7 +796,7 @@ int acpi_isa_irq_to_gsi(unsigned isa_irq, u32 *gsi) | |||
| 796 | * ACPI based hotplug CPU support | 796 | * ACPI based hotplug CPU support |
| 797 | */ | 797 | */ |
| 798 | #ifdef CONFIG_ACPI_HOTPLUG_CPU | 798 | #ifdef CONFIG_ACPI_HOTPLUG_CPU |
| 799 | static int acpi_map_cpu2node(acpi_handle handle, int cpu, int physid) | 799 | int acpi_map_cpu2node(acpi_handle handle, int cpu, int physid) |
| 800 | { | 800 | { |
| 801 | #ifdef CONFIG_ACPI_NUMA | 801 | #ifdef CONFIG_ACPI_NUMA |
| 802 | /* | 802 | /* |
diff --git a/arch/ia64/kernel/mca.c b/arch/ia64/kernel/mca.c index eb9220cde76c..d47616c8b885 100644 --- a/arch/ia64/kernel/mca.c +++ b/arch/ia64/kernel/mca.c | |||
| @@ -986,7 +986,7 @@ ia64_mca_modify_original_stack(struct pt_regs *regs, | |||
| 986 | int cpu = smp_processor_id(); | 986 | int cpu = smp_processor_id(); |
| 987 | 987 | ||
| 988 | previous_current = curr_task(cpu); | 988 | previous_current = curr_task(cpu); |
| 989 | set_curr_task(cpu, current); | 989 | ia64_set_curr_task(cpu, current); |
| 990 | if ((p = strchr(current->comm, ' '))) | 990 | if ((p = strchr(current->comm, ' '))) |
| 991 | *p = '\0'; | 991 | *p = '\0'; |
| 992 | 992 | ||
| @@ -1360,14 +1360,14 @@ ia64_mca_handler(struct pt_regs *regs, struct switch_stack *sw, | |||
| 1360 | cpumask_clear_cpu(i, &mca_cpu); /* wake next cpu */ | 1360 | cpumask_clear_cpu(i, &mca_cpu); /* wake next cpu */ |
| 1361 | while (monarch_cpu != -1) | 1361 | while (monarch_cpu != -1) |
| 1362 | cpu_relax(); /* spin until last cpu leaves */ | 1362 | cpu_relax(); /* spin until last cpu leaves */ |
| 1363 | set_curr_task(cpu, previous_current); | 1363 | ia64_set_curr_task(cpu, previous_current); |
| 1364 | ia64_mc_info.imi_rendez_checkin[cpu] | 1364 | ia64_mc_info.imi_rendez_checkin[cpu] |
| 1365 | = IA64_MCA_RENDEZ_CHECKIN_NOTDONE; | 1365 | = IA64_MCA_RENDEZ_CHECKIN_NOTDONE; |
| 1366 | return; | 1366 | return; |
| 1367 | } | 1367 | } |
| 1368 | } | 1368 | } |
| 1369 | } | 1369 | } |
| 1370 | set_curr_task(cpu, previous_current); | 1370 | ia64_set_curr_task(cpu, previous_current); |
| 1371 | ia64_mc_info.imi_rendez_checkin[cpu] = IA64_MCA_RENDEZ_CHECKIN_NOTDONE; | 1371 | ia64_mc_info.imi_rendez_checkin[cpu] = IA64_MCA_RENDEZ_CHECKIN_NOTDONE; |
| 1372 | monarch_cpu = -1; /* This frees the slaves and previous monarchs */ | 1372 | monarch_cpu = -1; /* This frees the slaves and previous monarchs */ |
| 1373 | } | 1373 | } |
| @@ -1729,7 +1729,7 @@ ia64_init_handler(struct pt_regs *regs, struct switch_stack *sw, | |||
| 1729 | NOTIFY_INIT(DIE_INIT_SLAVE_LEAVE, regs, (long)&nd, 1); | 1729 | NOTIFY_INIT(DIE_INIT_SLAVE_LEAVE, regs, (long)&nd, 1); |
| 1730 | 1730 | ||
| 1731 | mprintk("Slave on cpu %d returning to normal service.\n", cpu); | 1731 | mprintk("Slave on cpu %d returning to normal service.\n", cpu); |
| 1732 | set_curr_task(cpu, previous_current); | 1732 | ia64_set_curr_task(cpu, previous_current); |
| 1733 | ia64_mc_info.imi_rendez_checkin[cpu] = IA64_MCA_RENDEZ_CHECKIN_NOTDONE; | 1733 | ia64_mc_info.imi_rendez_checkin[cpu] = IA64_MCA_RENDEZ_CHECKIN_NOTDONE; |
| 1734 | atomic_dec(&slaves); | 1734 | atomic_dec(&slaves); |
| 1735 | return; | 1735 | return; |
| @@ -1756,7 +1756,7 @@ ia64_init_handler(struct pt_regs *regs, struct switch_stack *sw, | |||
| 1756 | 1756 | ||
| 1757 | mprintk("\nINIT dump complete. Monarch on cpu %d returning to normal service.\n", cpu); | 1757 | mprintk("\nINIT dump complete. Monarch on cpu %d returning to normal service.\n", cpu); |
| 1758 | atomic_dec(&monarchs); | 1758 | atomic_dec(&monarchs); |
| 1759 | set_curr_task(cpu, previous_current); | 1759 | ia64_set_curr_task(cpu, previous_current); |
| 1760 | monarch_cpu = -1; | 1760 | monarch_cpu = -1; |
| 1761 | return; | 1761 | return; |
| 1762 | } | 1762 | } |
