diff options
| author | Linus Torvalds <torvalds@woody.osdl.org> | 2007-01-10 21:06:14 -0500 |
|---|---|---|
| committer | Linus Torvalds <torvalds@woody.osdl.org> | 2007-01-10 21:06:14 -0500 |
| commit | 0404f87f2e0a0aadbda47be0f54812671207492f (patch) | |
| tree | 388ed26f2508aa0188d9435ee0e5a7a7786f8793 | |
| parent | 2d9819e3473f3e2200a4942760fa1f3d41043b99 (diff) | |
| parent | 7401969907594ac9632368ec53528fbd9b18f339 (diff) | |
Merge branch 'for-linus' of git://one.firstfloor.org/home/andi/git/linux-2.6
* 'for-linus' of git://one.firstfloor.org/home/andi/git/linux-2.6:
[PATCH] x86-64: Fix warnings in ia32_aout.c
[PATCH] i386: Convert some functions to __init to avoid MODPOST warnings
[PATCH] i386: Fix memory hotplug related MODPOST generated warning
[PATCH] x86-64: tighten up printks
[PATCH] x86-64: - Ignore long SMI interrupts in clock calibration
[PATCH] x86-64: pci quirks MODPOST warning fix
[PATCH] x86-64: Modpost whitelist reference to more symbols (pattern 3)
[PATCH] x86-64: modpost add more symbols to whitelist pattern2
[PATCH] i386: make apic probe function non-init
[PATCH] i386: cpu hotplug/smpboot misc MODPOST warning fixes
[PATCH] x86-64: Use different constraint for gcc < 4.1 in bitops.h
[PATCH] x86-64: Make noirqdebug_setup function non init to fix modpost warning
[PATCH] i386: Update defconfig
[PATCH] x86-64: Update defconfig
| -rw-r--r-- | arch/i386/defconfig | 14 | ||||
| -rw-r--r-- | arch/i386/kernel/mpparse.c | 8 | ||||
| -rw-r--r-- | arch/i386/kernel/setup.c | 4 | ||||
| -rw-r--r-- | arch/i386/kernel/smpboot.c | 10 | ||||
| -rw-r--r-- | arch/i386/mach-generic/bigsmp.c | 2 | ||||
| -rw-r--r-- | arch/i386/mach-generic/default.c | 2 | ||||
| -rw-r--r-- | arch/i386/mach-generic/es7000.c | 2 | ||||
| -rw-r--r-- | arch/i386/mach-generic/summit.c | 2 | ||||
| -rw-r--r-- | arch/i386/mm/init.c | 4 | ||||
| -rw-r--r-- | arch/x86_64/defconfig | 16 | ||||
| -rw-r--r-- | arch/x86_64/ia32/ia32_aout.c | 4 | ||||
| -rw-r--r-- | arch/x86_64/kernel/pci-calgary.c | 11 | ||||
| -rw-r--r-- | arch/x86_64/kernel/time.c | 25 | ||||
| -rw-r--r-- | drivers/pci/quirks.c | 2 | ||||
| -rw-r--r-- | drivers/serial/8250.c | 2 | ||||
| -rw-r--r-- | include/asm-x86_64/bitops.h | 34 | ||||
| -rw-r--r-- | init/main.c | 2 | ||||
| -rw-r--r-- | kernel/irq/spurious.c | 2 | ||||
| -rw-r--r-- | scripts/mod/modpost.c | 27 |
19 files changed, 119 insertions, 54 deletions
diff --git a/arch/i386/defconfig b/arch/i386/defconfig index 88b7c1cf65a2..5d80edfc61b7 100644 --- a/arch/i386/defconfig +++ b/arch/i386/defconfig | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | # | 1 | # |
| 2 | # Automatically generated make config: don't edit | 2 | # Automatically generated make config: don't edit |
| 3 | # Linux kernel version: 2.6.19-git14 | 3 | # Linux kernel version: 2.6.20-rc3 |
| 4 | # Sat Dec 9 21:23:14 2006 | 4 | # Fri Jan 5 11:54:46 2007 |
| 5 | # | 5 | # |
| 6 | CONFIG_X86_32=y | 6 | CONFIG_X86_32=y |
| 7 | CONFIG_GENERIC_TIME=y | 7 | CONFIG_GENERIC_TIME=y |
| @@ -1287,6 +1287,11 @@ CONFIG_USB_MON=y | |||
| 1287 | # | 1287 | # |
| 1288 | 1288 | ||
| 1289 | # | 1289 | # |
| 1290 | # Virtualization | ||
| 1291 | # | ||
| 1292 | # CONFIG_KVM is not set | ||
| 1293 | |||
| 1294 | # | ||
| 1290 | # File systems | 1295 | # File systems |
| 1291 | # | 1296 | # |
| 1292 | CONFIG_EXT2_FS=y | 1297 | CONFIG_EXT2_FS=y |
| @@ -1471,6 +1476,8 @@ CONFIG_TRACE_IRQFLAGS_SUPPORT=y | |||
| 1471 | # CONFIG_ENABLE_MUST_CHECK is not set | 1476 | # CONFIG_ENABLE_MUST_CHECK is not set |
| 1472 | CONFIG_MAGIC_SYSRQ=y | 1477 | CONFIG_MAGIC_SYSRQ=y |
| 1473 | CONFIG_UNUSED_SYMBOLS=y | 1478 | CONFIG_UNUSED_SYMBOLS=y |
| 1479 | # CONFIG_DEBUG_FS is not set | ||
| 1480 | # CONFIG_HEADERS_CHECK is not set | ||
| 1474 | CONFIG_DEBUG_KERNEL=y | 1481 | CONFIG_DEBUG_KERNEL=y |
| 1475 | CONFIG_LOG_BUF_SHIFT=18 | 1482 | CONFIG_LOG_BUF_SHIFT=18 |
| 1476 | CONFIG_DETECT_SOFTLOCKUP=y | 1483 | CONFIG_DETECT_SOFTLOCKUP=y |
| @@ -1489,12 +1496,10 @@ CONFIG_DETECT_SOFTLOCKUP=y | |||
| 1489 | # CONFIG_DEBUG_HIGHMEM is not set | 1496 | # CONFIG_DEBUG_HIGHMEM is not set |
| 1490 | CONFIG_DEBUG_BUGVERBOSE=y | 1497 | CONFIG_DEBUG_BUGVERBOSE=y |
| 1491 | # CONFIG_DEBUG_INFO is not set | 1498 | # CONFIG_DEBUG_INFO is not set |
| 1492 | # CONFIG_DEBUG_FS is not set | ||
| 1493 | # CONFIG_DEBUG_VM is not set | 1499 | # CONFIG_DEBUG_VM is not set |
| 1494 | # CONFIG_DEBUG_LIST is not set | 1500 | # CONFIG_DEBUG_LIST is not set |
| 1495 | # CONFIG_FRAME_POINTER is not set | 1501 | # CONFIG_FRAME_POINTER is not set |
| 1496 | # CONFIG_FORCED_INLINING is not set | 1502 | # CONFIG_FORCED_INLINING is not set |
| 1497 | # CONFIG_HEADERS_CHECK is not set | ||
| 1498 | # CONFIG_RCU_TORTURE_TEST is not set | 1503 | # CONFIG_RCU_TORTURE_TEST is not set |
| 1499 | # CONFIG_LKDTM is not set | 1504 | # CONFIG_LKDTM is not set |
| 1500 | CONFIG_EARLY_PRINTK=y | 1505 | CONFIG_EARLY_PRINTK=y |
| @@ -1527,6 +1532,7 @@ CONFIG_CRC32=y | |||
| 1527 | # CONFIG_LIBCRC32C is not set | 1532 | # CONFIG_LIBCRC32C is not set |
| 1528 | CONFIG_ZLIB_INFLATE=y | 1533 | CONFIG_ZLIB_INFLATE=y |
| 1529 | CONFIG_PLIST=y | 1534 | CONFIG_PLIST=y |
| 1535 | CONFIG_IOMAP_COPY=y | ||
| 1530 | CONFIG_GENERIC_HARDIRQS=y | 1536 | CONFIG_GENERIC_HARDIRQS=y |
| 1531 | CONFIG_GENERIC_IRQ_PROBE=y | 1537 | CONFIG_GENERIC_IRQ_PROBE=y |
| 1532 | CONFIG_GENERIC_PENDING_IRQ=y | 1538 | CONFIG_GENERIC_PENDING_IRQ=y |
diff --git a/arch/i386/kernel/mpparse.c b/arch/i386/kernel/mpparse.c index 2ce67228dff8..49bff3596bff 100644 --- a/arch/i386/kernel/mpparse.c +++ b/arch/i386/kernel/mpparse.c | |||
| @@ -36,7 +36,7 @@ | |||
| 36 | 36 | ||
| 37 | /* Have we found an MP table */ | 37 | /* Have we found an MP table */ |
| 38 | int smp_found_config; | 38 | int smp_found_config; |
| 39 | unsigned int __initdata maxcpus = NR_CPUS; | 39 | unsigned int __cpuinitdata maxcpus = NR_CPUS; |
| 40 | 40 | ||
| 41 | /* | 41 | /* |
| 42 | * Various Linux-internal data structures created from the | 42 | * Various Linux-internal data structures created from the |
| @@ -102,9 +102,9 @@ static int __init mpf_checksum(unsigned char *mp, int len) | |||
| 102 | */ | 102 | */ |
| 103 | 103 | ||
| 104 | static int mpc_record; | 104 | static int mpc_record; |
| 105 | static struct mpc_config_translation *translation_table[MAX_MPC_ENTRY] __initdata; | 105 | static struct mpc_config_translation *translation_table[MAX_MPC_ENTRY] __cpuinitdata; |
| 106 | 106 | ||
| 107 | static void __devinit MP_processor_info (struct mpc_config_processor *m) | 107 | static void __cpuinit MP_processor_info (struct mpc_config_processor *m) |
| 108 | { | 108 | { |
| 109 | int ver, apicid; | 109 | int ver, apicid; |
| 110 | physid_mask_t phys_cpu; | 110 | physid_mask_t phys_cpu; |
| @@ -822,7 +822,7 @@ void __init mp_register_lapic_address(u64 address) | |||
| 822 | Dprintk("Boot CPU = %d\n", boot_cpu_physical_apicid); | 822 | Dprintk("Boot CPU = %d\n", boot_cpu_physical_apicid); |
| 823 | } | 823 | } |
| 824 | 824 | ||
| 825 | void __devinit mp_register_lapic (u8 id, u8 enabled) | 825 | void __cpuinit mp_register_lapic (u8 id, u8 enabled) |
| 826 | { | 826 | { |
| 827 | struct mpc_config_processor processor; | 827 | struct mpc_config_processor processor; |
| 828 | int boot_cpu = 0; | 828 | int boot_cpu = 0; |
diff --git a/arch/i386/kernel/setup.c b/arch/i386/kernel/setup.c index 6f6cb7b31d18..4b31ad70c1ac 100644 --- a/arch/i386/kernel/setup.c +++ b/arch/i386/kernel/setup.c | |||
| @@ -77,7 +77,7 @@ extern struct resource code_resource; | |||
| 77 | extern struct resource data_resource; | 77 | extern struct resource data_resource; |
| 78 | 78 | ||
| 79 | /* cpu data as detected by the assembly code in head.S */ | 79 | /* cpu data as detected by the assembly code in head.S */ |
| 80 | struct cpuinfo_x86 new_cpu_data __initdata = { 0, 0, 0, 0, -1, 1, 0, 0, -1 }; | 80 | struct cpuinfo_x86 new_cpu_data __cpuinitdata = { 0, 0, 0, 0, -1, 1, 0, 0, -1 }; |
| 81 | /* common cpu data for all cpus */ | 81 | /* common cpu data for all cpus */ |
| 82 | struct cpuinfo_x86 boot_cpu_data __read_mostly = { 0, 0, 0, 0, -1, 1, 0, 0, -1 }; | 82 | struct cpuinfo_x86 boot_cpu_data __read_mostly = { 0, 0, 0, 0, -1, 1, 0, 0, -1 }; |
| 83 | EXPORT_SYMBOL(boot_cpu_data); | 83 | EXPORT_SYMBOL(boot_cpu_data); |
| @@ -495,7 +495,7 @@ static void set_mca_bus(int x) { } | |||
| 495 | #endif | 495 | #endif |
| 496 | 496 | ||
| 497 | /* Overridden in paravirt.c if CONFIG_PARAVIRT */ | 497 | /* Overridden in paravirt.c if CONFIG_PARAVIRT */ |
| 498 | char * __attribute__((weak)) memory_setup(void) | 498 | char * __init __attribute__((weak)) memory_setup(void) |
| 499 | { | 499 | { |
| 500 | return machine_specific_memory_setup(); | 500 | return machine_specific_memory_setup(); |
| 501 | } | 501 | } |
diff --git a/arch/i386/kernel/smpboot.c b/arch/i386/kernel/smpboot.c index 300d9b38d02e..dea7ef9d3e82 100644 --- a/arch/i386/kernel/smpboot.c +++ b/arch/i386/kernel/smpboot.c | |||
| @@ -159,7 +159,7 @@ void __init smp_alloc_memory(void) | |||
| 159 | * a given CPU | 159 | * a given CPU |
| 160 | */ | 160 | */ |
| 161 | 161 | ||
| 162 | static void __devinit smp_store_cpu_info(int id) | 162 | static void __cpuinit smp_store_cpu_info(int id) |
| 163 | { | 163 | { |
| 164 | struct cpuinfo_x86 *c = cpu_data + id; | 164 | struct cpuinfo_x86 *c = cpu_data + id; |
| 165 | 165 | ||
| @@ -364,7 +364,7 @@ extern void calibrate_delay(void); | |||
| 364 | 364 | ||
| 365 | static atomic_t init_deasserted; | 365 | static atomic_t init_deasserted; |
| 366 | 366 | ||
| 367 | static void __devinit smp_callin(void) | 367 | static void __cpuinit smp_callin(void) |
| 368 | { | 368 | { |
| 369 | int cpuid, phys_id; | 369 | int cpuid, phys_id; |
| 370 | unsigned long timeout; | 370 | unsigned long timeout; |
| @@ -538,7 +538,7 @@ set_cpu_sibling_map(int cpu) | |||
| 538 | /* | 538 | /* |
| 539 | * Activate a secondary processor. | 539 | * Activate a secondary processor. |
| 540 | */ | 540 | */ |
| 541 | static void __devinit start_secondary(void *unused) | 541 | static void __cpuinit start_secondary(void *unused) |
| 542 | { | 542 | { |
| 543 | /* | 543 | /* |
| 544 | * Don't put *anything* before secondary_cpu_init(), SMP | 544 | * Don't put *anything* before secondary_cpu_init(), SMP |
| @@ -931,7 +931,7 @@ static inline struct task_struct * alloc_idle_task(int cpu) | |||
| 931 | #define alloc_idle_task(cpu) fork_idle(cpu) | 931 | #define alloc_idle_task(cpu) fork_idle(cpu) |
