diff options
| author | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-05-24 20:38:18 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-05-24 20:38:18 -0400 |
| commit | 9059b454248a060ab39346c5d079f56089ab3868 (patch) | |
| tree | 5d5df323bd91613bd8ed643e7a197ef46dea91ff | |
| parent | 9539ce2253ab1b054e9b0daf0abe0fd4263e1820 (diff) | |
| parent | d57c4a38928ab2f71542046a9bae2932006b2523 (diff) | |
Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6
* 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6:
[IA64] acpi_get_sysname() should be __init
[IA64] Cleanup acpi header to reuse the generic _PDC defines
[IA64] Fix using uninitialized data in _PDC setup
[IA64] start_secondary() and smp_callin() should be __cpuinit
| -rw-r--r-- | arch/ia64/kernel/acpi-processor.c | 2 | ||||
| -rw-r--r-- | arch/ia64/kernel/acpi.c | 3 | ||||
| -rw-r--r-- | arch/ia64/kernel/smpboot.c | 4 | ||||
| -rw-r--r-- | include/asm-ia64/acpi.h | 7 |
4 files changed, 7 insertions, 9 deletions
diff --git a/arch/ia64/kernel/acpi-processor.c b/arch/ia64/kernel/acpi-processor.c index 4d4993a47e55..5a216c019924 100644 --- a/arch/ia64/kernel/acpi-processor.c +++ b/arch/ia64/kernel/acpi-processor.c | |||
| @@ -44,7 +44,7 @@ static void init_intel_pdc(struct acpi_processor *pr) | |||
| 44 | 44 | ||
| 45 | buf[0] = ACPI_PDC_REVISION_ID; | 45 | buf[0] = ACPI_PDC_REVISION_ID; |
| 46 | buf[1] = 1; | 46 | buf[1] = 1; |
| 47 | buf[2] |= ACPI_PDC_EST_CAPABILITY_SMP; | 47 | buf[2] = ACPI_PDC_EST_CAPABILITY_SMP; |
| 48 | 48 | ||
| 49 | obj->type = ACPI_TYPE_BUFFER; | 49 | obj->type = ACPI_TYPE_BUFFER; |
| 50 | obj->buffer.length = 12; | 50 | obj->buffer.length = 12; |
diff --git a/arch/ia64/kernel/acpi.c b/arch/ia64/kernel/acpi.c index c4784494970e..103dd8edda71 100644 --- a/arch/ia64/kernel/acpi.c +++ b/arch/ia64/kernel/acpi.c | |||
| @@ -67,7 +67,8 @@ EXPORT_SYMBOL(pm_power_off); | |||
| 67 | unsigned int acpi_cpei_override; | 67 | unsigned int acpi_cpei_override; |
| 68 | unsigned int acpi_cpei_phys_cpuid; | 68 | unsigned int acpi_cpei_phys_cpuid; |
| 69 | 69 | ||
| 70 | const char *acpi_get_sysname(void) | 70 | const char __init * |
| 71 | acpi_get_sysname(void) | ||
| 71 | { | 72 | { |
| 72 | #ifdef CONFIG_IA64_GENERIC | 73 | #ifdef CONFIG_IA64_GENERIC |
| 73 | unsigned long rsdp_phys; | 74 | unsigned long rsdp_phys; |
diff --git a/arch/ia64/kernel/smpboot.c b/arch/ia64/kernel/smpboot.c index 542958079f1b..3c9d8e6089cf 100644 --- a/arch/ia64/kernel/smpboot.c +++ b/arch/ia64/kernel/smpboot.c | |||
| @@ -370,7 +370,7 @@ smp_setup_percpu_timer (void) | |||
| 370 | { | 370 | { |
| 371 | } | 371 | } |
| 372 | 372 | ||
| 373 | static void __devinit | 373 | static void __cpuinit |
| 374 | smp_callin (void) | 374 | smp_callin (void) |
| 375 | { | 375 | { |
| 376 | int cpuid, phys_id, itc_master; | 376 | int cpuid, phys_id, itc_master; |
| @@ -456,7 +456,7 @@ smp_callin (void) | |||
| 456 | /* | 456 | /* |
| 457 | * Activate a secondary processor. head.S calls this. | 457 | * Activate a secondary processor. head.S calls this. |
| 458 | */ | 458 | */ |
| 459 | int __devinit | 459 | int __cpuinit |
| 460 | start_secondary (void *unused) | 460 | start_secondary (void *unused) |
| 461 | { | 461 | { |
| 462 | /* Early console may use I/O ports */ | 462 | /* Early console may use I/O ports */ |
diff --git a/include/asm-ia64/acpi.h b/include/asm-ia64/acpi.h index 5d03792d4f65..5b526357d178 100644 --- a/include/asm-ia64/acpi.h +++ b/include/asm-ia64/acpi.h | |||
| @@ -30,6 +30,8 @@ | |||
| 30 | 30 | ||
| 31 | #ifdef __KERNEL__ | 31 | #ifdef __KERNEL__ |
| 32 | 32 | ||
| 33 | #include <acpi/pdc_intel.h> | ||
| 34 | |||
| 33 | #include <linux/init.h> | 35 | #include <linux/init.h> |
| 34 | #include <linux/numa.h> | 36 | #include <linux/numa.h> |
| 35 | #include <asm/system.h> | 37 | #include <asm/system.h> |
| @@ -119,11 +121,6 @@ extern int __devinitdata pxm_to_nid_map[MAX_PXM_DOMAINS]; | |||
| 119 | extern int __initdata nid_to_pxm_map[MAX_NUMNODES]; | 121 | extern int __initdata nid_to_pxm_map[MAX_NUMNODES]; |
| 120 | #endif | 122 | #endif |
| 121 | 123 | ||
| 122 | /* | ||
| 123 | * Refer Intel ACPI _PDC support document for bit definitions | ||
| 124 | */ | ||
| 125 | #define ACPI_PDC_EST_CAPABILITY_SMP 0x8 | ||
| 126 | |||
| 127 | #endif /*__KERNEL__*/ | 124 | #endif /*__KERNEL__*/ |
| 128 | 125 | ||
| 129 | #endif /*_ASM_ACPI_H*/ | 126 | #endif /*_ASM_ACPI_H*/ |
