diff options
| author | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-03-17 19:57:41 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-03-17 19:57:41 -0400 |
| commit | 360afb033277688f145030c80fd2853dbfaebba5 (patch) | |
| tree | dd212a11a29467034ec6e5a8cb7a343c4f0b69cc | |
| parent | cd05a1f818073a623455a58e756c5b419fc98db9 (diff) | |
| parent | 92b35e910fe14e6e3a5d498157375fb55ea5fd03 (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: Export _proxy_pda for gcc 4.2
[PATCH] i386: Don't use the TSC in sched_clock if unstable
[PATCH] x86-64: fix section mismatch warnings
[PATCH] i386: Enforce GPLness of VMI ROM
[PATCH] x86-64: wire up compat sched_rr_get_interval(2)
[PATCH] i386: Update defconfig
[PATCH] x86-64: Update defconfig
| -rw-r--r-- | arch/i386/defconfig | 43 | ||||
| -rw-r--r-- | arch/i386/kernel/i386_ksyms.c | 2 | ||||
| -rw-r--r-- | arch/i386/kernel/tsc.c | 2 | ||||
| -rw-r--r-- | arch/i386/kernel/vmi.c | 17 | ||||
| -rw-r--r-- | arch/x86_64/defconfig | 53 | ||||
| -rw-r--r-- | arch/x86_64/ia32/ia32entry.S | 2 | ||||
| -rw-r--r-- | arch/x86_64/kernel/e820.c | 2 | ||||
| -rw-r--r-- | arch/x86_64/kernel/early-quirks.c | 8 | ||||
| -rw-r--r-- | arch/x86_64/kernel/mpparse.c | 4 | ||||
| -rw-r--r-- | arch/x86_64/kernel/pci-gart.c | 2 | ||||
| -rw-r--r-- | arch/x86_64/kernel/x8664_ksyms.c | 1 | ||||
| -rw-r--r-- | include/asm-x86_64/proto.h | 2 | ||||
| -rw-r--r-- | include/asm-x86_64/smp.h | 3 |
13 files changed, 95 insertions, 46 deletions
diff --git a/arch/i386/defconfig b/arch/i386/defconfig index 5ae1e0bc8fd7..f4efd66e1ee5 100644 --- a/arch/i386/defconfig +++ b/arch/i386/defconfig | |||
| @@ -1,10 +1,13 @@ | |||
| 1 | # | 1 | # |
| 2 | # Automatically generated make config: don't edit | 2 | # Automatically generated make config: don't edit |
| 3 | # Linux kernel version: 2.6.20-git8 | 3 | # Linux kernel version: 2.6.21-rc3 |
| 4 | # Tue Feb 13 11:25:18 2007 | 4 | # Wed Mar 7 15:29:47 2007 |
| 5 | # | 5 | # |
| 6 | CONFIG_X86_32=y | 6 | CONFIG_X86_32=y |
| 7 | CONFIG_GENERIC_TIME=y | 7 | CONFIG_GENERIC_TIME=y |
| 8 | CONFIG_CLOCKSOURCE_WATCHDOG=y | ||
| 9 | CONFIG_GENERIC_CLOCKEVENTS=y | ||
| 10 | CONFIG_GENERIC_CLOCKEVENTS_BROADCAST=y | ||
| 8 | CONFIG_LOCKDEP_SUPPORT=y | 11 | CONFIG_LOCKDEP_SUPPORT=y |
| 9 | CONFIG_STACKTRACE_SUPPORT=y | 12 | CONFIG_STACKTRACE_SUPPORT=y |
| 10 | CONFIG_SEMAPHORE_SLEEPERS=y | 13 | CONFIG_SEMAPHORE_SLEEPERS=y |
| @@ -34,6 +37,7 @@ CONFIG_LOCALVERSION_AUTO=y | |||
| 34 | CONFIG_SWAP=y | 37 | CONFIG_SWAP=y |
| 35 | CONFIG_SYSVIPC=y | 38 | CONFIG_SYSVIPC=y |
| 36 | # CONFIG_IPC_NS is not set | 39 | # CONFIG_IPC_NS is not set |
| 40 | CONFIG_SYSVIPC_SYSCTL=y | ||
| 37 | CONFIG_POSIX_MQUEUE=y | 41 | CONFIG_POSIX_MQUEUE=y |
| 38 | # CONFIG_BSD_PROCESS_ACCT is not set | 42 | # CONFIG_BSD_PROCESS_ACCT is not set |
| 39 | # CONFIG_TASKSTATS is not set | 43 | # CONFIG_TASKSTATS is not set |
| @@ -44,6 +48,7 @@ CONFIG_IKCONFIG_PROC=y | |||
| 44 | # CONFIG_CPUSETS is not set | 48 | # CONFIG_CPUSETS is not set |
| 45 | CONFIG_SYSFS_DEPRECATED=y | 49 | CONFIG_SYSFS_DEPRECATED=y |
| 46 | # CONFIG_RELAY is not set | 50 | # CONFIG_RELAY is not set |
| 51 | CONFIG_BLK_DEV_INITRD=y | ||
| 47 | CONFIG_INITRAMFS_SOURCE="" | 52 | CONFIG_INITRAMFS_SOURCE="" |
| 48 | CONFIG_CC_OPTIMIZE_FOR_SIZE=y | 53 | CONFIG_CC_OPTIMIZE_FOR_SIZE=y |
| 49 | CONFIG_SYSCTL=y | 54 | CONFIG_SYSCTL=y |
| @@ -103,6 +108,9 @@ CONFIG_DEFAULT_IOSCHED="anticipatory" | |||
| 103 | # | 108 | # |
| 104 | # Processor type and features | 109 | # Processor type and features |
| 105 | # | 110 | # |
| 111 | # CONFIG_TICK_ONESHOT is not set | ||
| 112 | # CONFIG_NO_HZ is not set | ||
| 113 | # CONFIG_HIGH_RES_TIMERS is not set | ||
| 106 | CONFIG_SMP=y | 114 | CONFIG_SMP=y |
| 107 | # CONFIG_X86_PC is not set | 115 | # CONFIG_X86_PC is not set |
| 108 | # CONFIG_X86_ELAN is not set | 116 | # CONFIG_X86_ELAN is not set |
| @@ -235,10 +243,8 @@ CONFIG_ACPI_PROCFS=y | |||
| 235 | CONFIG_ACPI_AC=y | 243 | CONFIG_ACPI_AC=y |
| 236 | CONFIG_ACPI_BATTERY=y | 244 | CONFIG_ACPI_BATTERY=y |
| 237 | CONFIG_ACPI_BUTTON=y | 245 | CONFIG_ACPI_BUTTON=y |
| 238 | # CONFIG_ACPI_HOTKEY is not set | ||
| 239 | CONFIG_ACPI_FAN=y | 246 | CONFIG_ACPI_FAN=y |
| 240 | # CONFIG_ACPI_DOCK is not set | 247 | # CONFIG_ACPI_DOCK is not set |
| 241 | # CONFIG_ACPI_BAY is not set | ||
| 242 | CONFIG_ACPI_PROCESSOR=y | 248 | CONFIG_ACPI_PROCESSOR=y |
| 243 | CONFIG_ACPI_THERMAL=y | 249 | CONFIG_ACPI_THERMAL=y |
| 244 | # CONFIG_ACPI_ASUS is not set | 250 | # CONFIG_ACPI_ASUS is not set |
| @@ -289,6 +295,7 @@ CONFIG_X86_POWERNOW_K8_ACPI=y | |||
| 289 | # CONFIG_X86_CPUFREQ_NFORCE2 is not set | 295 | # CONFIG_X86_CPUFREQ_NFORCE2 is not set |
| 290 | # CONFIG_X86_LONGRUN is not set | 296 | # CONFIG_X86_LONGRUN is not set |
| 291 | # CONFIG_X86_LONGHAUL is not set | 297 | # CONFIG_X86_LONGHAUL is not set |
| 298 | # CONFIG_X86_E_POWERSAVER is not set | ||
| 292 | 299 | ||
| 293 | # | 300 | # |
| 294 | # shared options | 301 | # shared options |
| @@ -368,7 +375,7 @@ CONFIG_IP_PNP_DHCP=y | |||
| 368 | # CONFIG_INET_ESP is not set | 375 | # CONFIG_INET_ESP is not set |
| 369 | # CONFIG_INET_IPCOMP is not set | 376 | # CONFIG_INET_IPCOMP is not set |
| 370 | # CONFIG_INET_XFRM_TUNNEL is not set | 377 | # CONFIG_INET_XFRM_TUNNEL is not set |
| 371 | # CONFIG_INET_TUNNEL is not set | 378 | CONFIG_INET_TUNNEL=y |
| 372 | CONFIG_INET_XFRM_MODE_TRANSPORT=y | 379 | CONFIG_INET_XFRM_MODE_TRANSPORT=y |
| 373 | CONFIG_INET_XFRM_MODE_TUNNEL=y | 380 | CONFIG_INET_XFRM_MODE_TUNNEL=y |
| 374 | # CONFIG_INET_XFRM_MODE_BEET is not set | 381 | # CONFIG_INET_XFRM_MODE_BEET is not set |
| @@ -470,7 +477,13 @@ CONFIG_FW_LOADER=y | |||
| 470 | # | 477 | # |
| 471 | # Plug and Play support | 478 | # Plug and Play support |
| 472 | # | 479 | # |
| 473 | # CONFIG_PNP is not set | 480 | CONFIG_PNP=y |
| 481 | # CONFIG_PNP_DEBUG is not set | ||
| 482 | |||
| 483 | # | ||
| 484 | # Protocols | ||
| 485 | # | ||
| 486 | CONFIG_PNPACPI=y | ||
| 474 | 487 | ||
| 475 | # | 488 | # |
| 476 | # Block devices | 489 | # Block devices |
| @@ -490,7 +503,6 @@ CONFIG_BLK_DEV_RAM=y | |||
| 490 | CONFIG_BLK_DEV_RAM_COUNT=16 | 503 | CONFIG_BLK_DEV_RAM_COUNT=16 |
| 491 | CONFIG_BLK_DEV_RAM_SIZE=4096 | 504 | CONFIG_BLK_DEV_RAM_SIZE=4096 |
| 492 | CONFIG_BLK_DEV_RAM_BLOCKSIZE=1024 | 505 | CONFIG_BLK_DEV_RAM_BLOCKSIZE=1024 |
| 493 | CONFIG_BLK_DEV_INITRD=y | ||
| 494 | # CONFIG_CDROM_PKTCDVD is not set | 506 | # CONFIG_CDROM_PKTCDVD is not set |
| 495 | # CONFIG_ATA_OVER_ETH is not set | 507 | # CONFIG_ATA_OVER_ETH is not set |
| 496 | 508 | ||
| @@ -500,6 +512,7 @@ CONFIG_BLK_DEV_INITRD=y | |||
| 500 | # CONFIG_IBM_ASM is not set | 512 | # CONFIG_IBM_ASM is not set |
| 501 | # CONFIG_SGI_IOC4 is not set | 513 | # CONFIG_SGI_IOC4 is not set |
| 502 | # CONFIG_TIFM_CORE is not set | 514 | # CONFIG_TIFM_CORE is not set |
| 515 | # CONFIG_SONY_LAPTOP is not set | ||
| 503 | 516 | ||
| 504 | # | 517 | # |
| 505 | # ATA/ATAPI/MFM/RLL support | 518 | # ATA/ATAPI/MFM/RLL support |
| @@ -526,6 +539,7 @@ CONFIG_BLK_DEV_IDEACPI=y | |||
| 526 | # | 539 | # |
| 527 | CONFIG_IDE_GENERIC=y | 540 | CONFIG_IDE_GENERIC=y |
| 528 | # CONFIG_BLK_DEV_CMD640 is not set | 541 | # CONFIG_BLK_DEV_CMD640 is not set |
| 542 | # CONFIG_BLK_DEV_IDEPNP is not set | ||
| 529 | CONFIG_BLK_DEV_IDEPCI=y | 543 | CONFIG_BLK_DEV_IDEPCI=y |
| 530 | # CONFIG_IDEPCI_SHARE_IRQ is not set | 544 | # CONFIG_IDEPCI_SHARE_IRQ is not set |
| 531 | # CONFIG_BLK_DEV_OFFBOARD is not set | 545 | # CONFIG_BLK_DEV_OFFBOARD is not set |
| @@ -679,6 +693,7 @@ CONFIG_SATA_VIA=y | |||
| 679 | # CONFIG_SATA_VITESSE is not set | 693 | # CONFIG_SATA_VITESSE is not set |
| 680 | # CONFIG_SATA_INIC162X is not set | 694 | # CONFIG_SATA_INIC162X is not set |
| 681 | CONFIG_SATA_INTEL_COMBINED=y | 695 | CONFIG_SATA_INTEL_COMBINED=y |
| 696 | CONFIG_SATA_ACPI=y | ||
| 682 | # CONFIG_PATA_ALI is not set | 697 | # CONFIG_PATA_ALI is not set |
| 683 | # CONFIG_PATA_AMD is not set | 698 | # CONFIG_PATA_AMD is not set |
| 684 | # CONFIG_PATA_ARTOP is not set | 699 | # CONFIG_PATA_ARTOP is not set |
| @@ -786,6 +801,7 @@ CONFIG_NETDEVICES=y | |||
| 786 | # CONFIG_BONDING is not set | 801 | # CONFIG_BONDING is not set |
| 787 | # CONFIG_EQUALIZER is not set | 802 | # CONFIG_EQUALIZER is not set |
| 788 | # CONFIG_TUN is not set | 803 | # CONFIG_TUN is not set |
| 804 | # CONFIG_NET_SB1000 is not set | ||
| 789 | 805 | ||
| 790 | # | 806 | # |
| 791 | # ARCnet devices | 807 | # ARCnet devices |
| @@ -979,6 +995,7 @@ CONFIG_HW_CONSOLE=y | |||
| 979 | CONFIG_SERIAL_8250=y | 995 | CONFIG_SERIAL_8250=y |
| 980 | CONFIG_SERIAL_8250_CONSOLE=y | 996 | CONFIG_SERIAL_8250_CONSOLE=y |
| 981 | CONFIG_SERIAL_8250_PCI=y | 997 | CONFIG_SERIAL_8250_PCI=y |
| 998 | CONFIG_SERIAL_8250_PNP=y | ||
| 982 | CONFIG_SERIAL_8250_NR_UARTS=4 | 999 | CONFIG_SERIAL_8250_NR_UARTS=4 |
| 983 | CONFIG_SERIAL_8250_RUNTIME_UARTS=4 | 1000 | CONFIG_SERIAL_8250_RUNTIME_UARTS=4 |
| 984 | # CONFIG_SERIAL_8250_EXTENDED is not set | 1001 | # CONFIG_SERIAL_8250_EXTENDED is not set |
| @@ -1065,6 +1082,11 @@ CONFIG_HANGCHECK_TIMER=y | |||
| 1065 | # CONFIG_HWMON_VID is not set | 1082 | # CONFIG_HWMON_VID is not set |
| 1066 | 1083 | ||
| 1067 | # | 1084 | # |
| 1085 | # Multifunction device drivers | ||
| 1086 | # | ||
| 1087 | # CONFIG_MFD_SM501 is not set | ||
| 1088 | |||
| 1089 | # | ||
| 1068 | # Multimedia devices | 1090 | # Multimedia devices |
| 1069 | # | 1091 | # |
| 1070 | # CONFIG_VIDEO_DEV is not set | 1092 | # CONFIG_VIDEO_DEV is not set |
| @@ -1078,7 +1100,7 @@ CONFIG_HANGCHECK_TIMER=y | |||
| 1078 | # | 1100 | # |
| 1079 | # Graphics support | 1101 | # Graphics support |
| 1080 | # | 1102 | # |
| 1081 | CONFIG_FIRMWARE_EDID=y | 1103 | # CONFIG_BACKLIGHT_LCD_SUPPORT is not set |
| 1082 | # CONFIG_FB is not set | 1104 | # CONFIG_FB is not set |
| 1083 | 1105 | ||
| 1084 | # | 1106 | # |
| @@ -1089,7 +1111,6 @@ CONFIG_VGACON_SOFT_SCROLLBACK=y | |||
| 1089 | CONFIG_VGACON_SOFT_SCROLLBACK_SIZE=128 | 1111 | CONFIG_VGACON_SOFT_SCROLLBACK_SIZE=128 |
| 1090 | CONFIG_VIDEO_SELECT=y | 1112 | CONFIG_VIDEO_SELECT=y |
| 1091 | CONFIG_DUMMY_CONSOLE=y | 1113 | CONFIG_DUMMY_CONSOLE=y |
| 1092 | # CONFIG_BACKLIGHT_LCD_SUPPORT is not set | ||
| 1093 | 1114 | ||
| 1094 | # | 1115 | # |
| 1095 | # Sound | 1116 | # Sound |
| @@ -1238,6 +1259,7 @@ CONFIG_USB_MON=y | |||
| 1238 | # CONFIG_USB_RIO500 is not set | 1259 | # CONFIG_USB_RIO500 is not set |
| 1239 | # CONFIG_USB_LEGOTOWER is not set | 1260 | # CONFIG_USB_LEGOTOWER is not set |
| 1240 | # CONFIG_USB_LCD is not set | 1261 | # CONFIG_USB_LCD is not set |
| 1262 | # CONFIG_USB_BERRY_CHARGE is not set | ||
| 1241 | # CONFIG_USB_LED is not set | 1263 | # CONFIG_USB_LED is not set |
| 1242 | # CONFIG_USB_CYPRESS_CY7C63 is not set | 1264 | # CONFIG_USB_CYPRESS_CY7C63 is not set |
| 1243 | # CONFIG_USB_CYTHERM is not set | 1265 | # CONFIG_USB_CYTHERM is not set |
| @@ -1248,6 +1270,7 @@ CONFIG_USB_MON=y | |||
| 1248 | # CONFIG_USB_SISUSBVGA is not set | 1270 | # CONFIG_USB_SISUSBVGA is not set |
| 1249 | # CONFIG_USB_LD is not set | 1271 | # CONFIG_USB_LD is not set |
| 1250 | # CONFIG_USB_TRANCEVIBRATOR is not set | 1272 | # CONFIG_USB_TRANCEVIBRATOR is not set |
| 1273 | # CONFIG_USB_IOWARRIOR is not set | ||
| 1251 | # CONFIG_USB_TEST is not set | 1274 | # CONFIG_USB_TEST is not set |
| 1252 | 1275 | ||
| 1253 | # | 1276 | # |
| @@ -1506,6 +1529,7 @@ CONFIG_DEBUG_KERNEL=y | |||
| 1506 | CONFIG_LOG_BUF_SHIFT=18 | 1529 | CONFIG_LOG_BUF_SHIFT=18 |
| 1507 | CONFIG_DETECT_SOFTLOCKUP=y | 1530 | CONFIG_DETECT_SOFTLOCKUP=y |
| 1508 | # CONFIG_SCHEDSTATS is not set | 1531 | # CONFIG_SCHEDSTATS is not set |
| 1532 | # CONFIG_TIMER_STATS is not set | ||
| 1509 | # CONFIG_DEBUG_SLAB is not set | 1533 | # CONFIG_DEBUG_SLAB is not set |
| 1510 | # CONFIG_DEBUG_RT_MUTEXES is not set | 1534 | # CONFIG_DEBUG_RT_MUTEXES is not set |
| 1511 | # CONFIG_RT_MUTEX_TESTER is not set | 1535 | # CONFIG_RT_MUTEX_TESTER is not set |
| @@ -1525,6 +1549,7 @@ CONFIG_DEBUG_BUGVERBOSE=y | |||
| 1525 | # CONFIG_FORCED_INLINING is not set | 1549 | # CONFIG_FORCED_INLINING is not set |
| 1526 | # CONFIG_RCU_TORTURE_TEST is not set | 1550 | # CONFIG_RCU_TORTURE_TEST is not set |
| 1527 | # CONFIG_LKDTM is not set | 1551 | # CONFIG_LKDTM is not set |
| 1552 | # CONFIG_FAULT_INJECTION is not set | ||
| 1528 | CONFIG_EARLY_PRINTK=y | 1553 | CONFIG_EARLY_PRINTK=y |
| 1529 | CONFIG_DEBUG_STACKOVERFLOW=y | 1554 | CONFIG_DEBUG_STACKOVERFLOW=y |
| 1530 | # CONFIG_DEBUG_STACK_USAGE is not set | 1555 | # CONFIG_DEBUG_STACK_USAGE is not set |
diff --git a/arch/i386/kernel/i386_ksyms.c b/arch/i386/kernel/i386_ksyms.c index e3d4b73bfdb0..4afe26e86260 100644 --- a/arch/i386/kernel/i386_ksyms.c +++ b/arch/i386/kernel/i386_ksyms.c | |||
| @@ -28,3 +28,5 @@ EXPORT_SYMBOL(__read_lock_failed); | |||
| 28 | #endif | 28 | #endif |
| 29 | 29 | ||
| 30 | EXPORT_SYMBOL(csum_partial); | 30 | EXPORT_SYMBOL(csum_partial); |
| 31 | |||
| 32 | EXPORT_SYMBOL(_proxy_pda); | ||
diff --git a/arch/i386/kernel/tsc.c b/arch/i386/kernel/tsc.c index 602660df455c..0e65f7ab63a2 100644 --- a/arch/i386/kernel/tsc.c +++ b/arch/i386/kernel/tsc.c | |||
| @@ -105,7 +105,7 @@ unsigned long long sched_clock(void) | |||
| 105 | /* | 105 | /* |
| 106 | * Fall back to jiffies if there's no TSC available: | 106 | * Fall back to jiffies if there's no TSC available: |
| 107 | */ | 107 | */ |
| 108 | if (unlikely(tsc_disable)) | 108 | if (tsc_unstable || unlikely(tsc_disable)) |
| 109 | /* No locking but a rare wrong value is not a big deal: */ | 109 | /* No locking but a rare wrong value is not a big deal: */ |
| 110 | return (jiffies_64 - INITIAL_JIFFIES) * (1000000000 / HZ); | 110 | return (jiffies_64 - INITIAL_JIFFIES) * (1000000000 / HZ); |
| 111 | 111 | ||
diff --git a/arch/i386/kernel/vmi.c b/arch/i386/kernel/vmi.c index fbf45fa08320..fb07a1aad225 100644 --- a/arch/i386/kernel/vmi.c +++ b/arch/i386/kernel/vmi.c | |||
| @@ -23,7 +23,6 @@ | |||
| 23 | */ | 23 | */ |
| 24 | 24 | ||
| 25 | #include <linux/module.h> | 25 | #include <linux/module.h> |
| 26 | #include <linux/license.h> | ||
| 27 | #include <linux/cpu.h> | 26 | #include <linux/cpu.h> |
| 28 | #include <linux/bootmem.h> | 27 | #include <linux/bootmem.h> |
| 29 | #include <linux/mm.h> | 28 | #include <linux/mm.h> |
| @@ -48,7 +47,6 @@ typedef u64 __attribute__((regparm(2))) (VROMLONGFUNC)(int); | |||
| 48 | (((VROMLONGFUNC *)(rom->func)) (arg)) | 47 | (((VROMLONGFUNC *)(rom->func)) (arg)) |
| 49 | 48 | ||
| 50 | static struct vrom_header *vmi_rom; | 49 | static struct vrom_header *vmi_rom; |
| 51 | static int license_gplok; | ||
| 52 | static int disable_pge; | 50 | static int disable_pge; |
| 53 | static int disable_pse; | 51 | static int disable_pse; |
| 54 | static int disable_sep; | 52 | static int disable_sep; |
| @@ -629,13 +627,14 @@ static inline int __init check_vmi_rom(struct vrom_header *rom) | |||
| 629 | rom->api_version_maj, rom->api_version_min, | 627 | rom->api_version_maj, rom->api_version_min, |
| 630 | pci->rom_version_maj, pci->rom_version_min); | 628 | pci->rom_version_maj, pci->rom_version_min); |
| 631 | 629 | ||
| 632 | license_gplok = license_is_gpl_compatible(license); | 630 | /* Don't allow BSD/MIT here for now because we don't want to end up |
| 633 | if (!license_gplok) { | 631 | with any binary only shim layers */ |
| 634 | printk(KERN_WARNING "VMI: ROM license '%s' taints kernel... " | 632 | if (strcmp(license, "GPL") && strcmp(license, "GPL v2")) { |
| 635 | "inlining disabled\n", | 633 | printk(KERN_WARNING "VMI: Non GPL license `%s' found for ROM. Not used.\n", |
| 636 | license); | 634 | license); |
| 637 | add_taint(TAINT_PROPRIETARY_MODULE); | 635 | return 0; |
| 638 | } | 636 | } |
| 637 | |||
| 639 | return 1; | 638 | return 1; |
| 640 | } | 639 | } |
| 641 | 640 | ||
diff --git a/arch/x86_64/defconfig b/arch/x86_64/defconfig index 293a4a4c609e..7a1e251e333d 100644 --- a/arch/x86_64/defconfig +++ b/arch/x86_64/defconfig | |||
| @@ -1,11 +1,13 @@ | |||
| 1 | # | 1 | # |
| 2 | # Automatically generated make config: don't edit | 2 | # Automatically generated make config: don't edit |
| 3 | # Linux kernel version: 2.6.20-git8 | 3 | # Linux kernel version: 2.6.21-rc3 |
| 4 | # Tue Feb 13 11:25:16 2007 | 4 | # Wed Mar 7 15:29:47 2007 |
| 5 | # | 5 | # |
| 6 | CONFIG_X86_64=y | 6 | CONFIG_X86_64=y |
| 7 | CONFIG_64BIT=y | 7 | CONFIG_64BIT=y |
| 8 | CONFIG_X86=y | 8 | CONFIG_X86=y |
| 9 | CONFIG_GENERIC_TIME=y | ||
| 10 | CONFIG_GENERIC_TIME_VSYSCALL=y | ||
| 9 | CONFIG_ZONE_DMA32=y | 11 | CONFIG_ZONE_DMA32=y |
| 10 | CONFIG_LOCKDEP_SUPPORT=y | 12 | CONFIG_LOCKDEP_SUPPORT=y |
| 11 | CONFIG_STACKTRACE_SUPPORT=y | 13 | CONFIG_STACKTRACE_SUPPORT=y |
| @@ -43,6 +45,7 @@ CONFIG_LOCALVERSION_AUTO=y | |||
| 43 | CONFIG_SWAP=y | 45 | CONFIG_SWAP=y |
| 44 | CONFIG_SYSVIPC=y | 46 | CONFIG_SYSVIPC=y |
| 45 | # CONFIG_IPC_NS is not set | 47 | # CONFIG_IPC_NS is not set |
| 48 | CONFIG_SYSVIPC_SYSCTL=y | ||
| 46 | CONFIG_POSIX_MQUEUE=y | 49 | CONFIG_POSIX_MQUEUE=y |
| 47 | # CONFIG_BSD_PROCESS_ACCT is not set | 50 | # CONFIG_BSD_PROCESS_ACCT is not set |
| 48 | # CONFIG_TASKSTATS is not set | 51 | # CONFIG_TASKSTATS is not set |
| @@ -53,6 +56,7 @@ CONFIG_IKCONFIG_PROC=y | |||
| 53 | # CONFIG_CPUSETS is not set | 56 | # CONFIG_CPUSETS is not set |
| 54 | CONFIG_SYSFS_DEPRECATED=y | 57 | CONFIG_SYSFS_DEPRECATED=y |
| 55 | # CONFIG_RELAY is not set | 58 | # CONFIG_RELAY is not set |
| 59 | CONFIG_BLK_DEV_INITRD=y | ||
| 56 | CONFIG_INITRAMFS_SOURCE="" | 60 | CONFIG_INITRAMFS_SOURCE="" |
| 57 | CONFIG_CC_OPTIMIZE_FOR_SIZE=y | 61 | CONFIG_CC_OPTIMIZE_FOR_SIZE=y |
| 58 | CONFIG_SYSCTL=y | 62 | CONFIG_SYSCTL=y |
| @@ -114,11 +118,11 @@ CONFIG_X86_PC=y | |||
| 114 | # CONFIG_X86_VSMP is not set | 118 | # CONFIG_X86_VSMP is not set |
| 115 | # CONFIG_MK8 is not set | 119 | # CONFIG_MK8 is not set |
| 116 | # CONFIG_MPSC is not set | 120 | # CONFIG_MPSC is not set |
| 117 | CONFIG_MCORE2=y | 121 | # CONFIG_MCORE2 is not set |
| 118 | # CONFIG_GENERIC_CPU is not set | 122 | CONFIG_GENERIC_CPU=y |
| 119 | CONFIG_X86_L1_CACHE_BYTES=64 | 123 | CONFIG_X86_L1_CACHE_BYTES=128 |
| 120 | CONFIG_X86_L1_CACHE_SHIFT=6 | 124 | CONFIG_X86_L1_CACHE_SHIFT=7 |
| 121 | CONFIG_X86_INTERNODE_CACHE_BYTES=64 | 125 | CONFIG_X86_INTERNODE_CACHE_BYTES=128 |
| 122 | CONFIG_X86_TSC=y | 126 | CONFIG_X86_TSC=y |
| 123 | CONFIG_X86_GOOD_APIC=y | 127 | CONFIG_X86_GOOD_APIC=y |
| 124 | # CONFIG_MICROCODE is not set | 128 | # CONFIG_MICROCODE is not set |
| @@ -207,10 +211,8 @@ CONFIG_ACPI_PROCFS=y | |||
| 207 | CONFIG_ACPI_AC=y | 211 | CONFIG_ACPI_AC=y |
| 208 | CONFIG_ACPI_BATTERY=y | 212 | CONFIG_ACPI_BATTERY=y |
| 209 | CONFIG_ACPI_BUTTON=y | 213 | CONFIG_ACPI_BUTTON=y |
| 210 | # CONFIG_ACPI_HOTKEY is not set | ||
| 211 | CONFIG_ACPI_FAN=y | 214 | CONFIG_ACPI_FAN=y |
| 212 | # CONFIG_ACPI_DOCK is not set | 215 | # CONFIG_ACPI_DOCK is not set |
| 213 | # CONFIG_ACPI_BAY is not set | ||
| 214 | CONFIG_ACPI_PROCESSOR=y | 216 | CONFIG_ACPI_PROCESSOR=y |
| 215 | CONFIG_ACPI_HOTPLUG_CPU=y | 217 | CONFIG_ACPI_HOTPLUG_CPU=y |
| 216 | CONFIG_ACPI_THERMAL=y | 218 | CONFIG_ACPI_THERMAL=y |
| @@ -319,7 +321,7 @@ CONFIG_IP_PNP_DHCP=y | |||
| 319 | # CONFIG_INET_ESP is not set | 321 | # CONFIG_INET_ESP is not set |
| 320 | # CONFIG_INET_IPCOMP is not set | 322 | # CONFIG_INET_IPCOMP is not set |
| 321 | # CONFIG_INET_XFRM_TUNNEL is not set | 323 | # CONFIG_INET_XFRM_TUNNEL is not set |
| 322 | # CONFIG_INET_TUNNEL is not set | 324 | CONFIG_INET_TUNNEL=y |
| 323 | # CONFIG_INET_XFRM_MODE_TRANSPORT is not set | 325 | # CONFIG_INET_XFRM_MODE_TRANSPORT is not set |
| 324 | # CONFIG_INET_XFRM_MODE_TUNNEL is not set | 326 | # CONFIG_INET_XFRM_MODE_TUNNEL is not set |
| 325 | # CONFIG_INET_XFRM_MODE_BEET is not set | 327 | # CONFIG_INET_XFRM_MODE_BEET is not set |
| @@ -421,7 +423,13 @@ CONFIG_FW_LOADER=y | |||
| 421 | # | 423 | # |
| 422 | # Plug and Play support | 424 | # Plug and Play support |
| 423 | # | 425 | # |
| 424 | # CONFIG_PNP is not set | 426 | CONFIG_PNP=y |
| 427 | # CONFIG_PNP_DEBUG is not set | ||
| 428 | |||
| 429 | # | ||
| 430 | # Protocols | ||
| 431 | # | ||
| 432 | CONFIG_PNPACPI=y | ||
| 425 | 433 | ||
| 426 | # | 434 | # |
| 427 | # Block devices | 435 | # Block devices |
| @@ -441,7 +449,6 @@ CONFIG_BLK_DEV_RAM=y | |||
| 441 | CONFIG_BLK_DEV_RAM_COUNT=16 | 449 | CONFIG_BLK_DEV_RAM_COUNT=16 |
| 442 | CONFIG_BLK_DEV_RAM_SIZE=4096 | 450 | CONFIG_BLK_DEV_RAM_SIZE=4096 |
| 443 | CONFIG_BLK_DEV_RAM_BLOCKSIZE=1024 | 451 | CONFIG_BLK_DEV_RAM_BLOCKSIZE=1024 |
| 444 | CONFIG_BLK_DEV_INITRD=y | ||
| 445 | # CONFIG_CDROM_PKTCDVD is not set | 452 | # CONFIG_CDROM_PKTCDVD is not set |
| 446 | # CONFIG_ATA_OVER_ETH is not set | 453 | # CONFIG_ATA_OVER_ETH is not set |
| 447 | 454 | ||
| @@ -451,6 +458,7 @@ CONFIG_BLK_DEV_INITRD=y | |||
| 451 | # CONFIG_IBM_ASM is not set | 458 | # CONFIG_IBM_ASM is not set |
| 452 | # CONFIG_SGI_IOC4 is not set | 459 | # CONFIG_SGI_IOC4 is not set |
| 453 | # CONFIG_TIFM_CORE is not set | 460 | # CONFIG_TIFM_CORE is not set |
| 461 | # CONFIG_SONY_LAPTOP is not set | ||
| 454 | 462 | ||
| 455 | # | 463 | # |
| 456 | # ATA/ATAPI/MFM/RLL support | 464 | # ATA/ATAPI/MFM/RLL support |
| @@ -477,6 +485,7 @@ CONFIG_BLK_DEV_IDEACPI=y | |||
| 477 | # | 485 | # |
| 478 | CONFIG_IDE_GENERIC=y | 486 | CONFIG_IDE_GENERIC=y |
| 479 | # CONFIG_BLK_DEV_CMD640 is not set | 487 | # CONFIG_BLK_DEV_CMD640 is not set |
| 488 | # CONFIG_BLK_DEV_IDEPNP is not set | ||
| 480 | CONFIG_BLK_DEV_IDEPCI=y | 489 | CONFIG_BLK_DEV_IDEPCI=y |
| 481 | # CONFIG_IDEPCI_SHARE_IRQ is not set | 490 | # CONFIG_IDEPCI_SHARE_IRQ is not set |
| 482 | # CONFIG_BLK_DEV_OFFBOARD is not set | 491 | # CONFIG_BLK_DEV_OFFBOARD is not set |
| @@ -623,6 +632,7 @@ CONFIG_SATA_VIA=y | |||
| 623 | # CONFIG_SATA_VITESSE is not set | 632 | # CONFIG_SATA_VITESSE is not set |
| 624 | # CONFIG_SATA_INIC162X is not set | 633 | # CONFIG_SATA_INIC162X is not set |
| 625 | CONFIG_SATA_INTEL_COMBINED=y | 634 | CONFIG_SATA_INTEL_COMBINED=y |
| 635 | CONFIG_SATA_ACPI=y | ||
| 626 | # CONFIG_PATA_ALI is not set | 636 | # CONFIG_PATA_ALI is not set |
| 627 | # CONFIG_PATA_AMD is not set | 637 | # CONFIG_PATA_AMD is not set |
| 628 | # CONFIG_PATA_ARTOP is not set | 638 | # CONFIG_PATA_ARTOP is not set |
| @@ -726,6 +736,7 @@ CONFIG_NETDEVICES=y | |||
| 726 | # CONFIG_BONDING is not set | 736 | # CONFIG_BONDING is not set |
| 727 | # CONFIG_EQUALIZER is not set | 737 | # CONFIG_EQUALIZER is not set |
| 728 | CONFIG_TUN=y | 738 | CONFIG_TUN=y |
| 739 | # CONFIG_NET_SB1000 is not set | ||
| 729 | 740 | ||
| 730 | # | 741 | # |
| 731 | # ARCnet devices | 742 | # ARCnet devices |
| @@ -920,6 +931,7 @@ CONFIG_HW_CONSOLE=y | |||
| 920 | CONFIG_SERIAL_8250=y | 931 | CONFIG_SERIAL_8250=y |
| 921 | CONFIG_SERIAL_8250_CONSOLE=y | 932 | CONFIG_SERIAL_8250_CONSOLE=y |
| 922 | CONFIG_SERIAL_8250_PCI=y | 933 | CONFIG_SERIAL_8250_PCI=y |
| 934 | CONFIG_SERIAL_8250_PNP=y | ||
| 923 | CONFIG_SERIAL_8250_NR_UARTS=4 | 935 | CONFIG_SERIAL_8250_NR_UARTS=4 |
| 924 | CONFIG_SERIAL_8250_RUNTIME_UARTS=4 | 936 | CONFIG_SERIAL_8250_RUNTIME_UARTS=4 |
| 925 | # CONFIG_SERIAL_8250_EXTENDED is not set | 937 | # CONFIG_SERIAL_8250_EXTENDED is not set |
| @@ -1001,6 +1013,7 @@ CONFIG_I2C_ISA=m | |||
| 1001 | # CONFIG_I2C_NFORCE2 is not set | 1013 | # CONFIG_I2C_NFORCE2 is not set |
| 1002 | # CONFIG_I2C_OCORES is not set | 1014 | # CONFIG_I2C_OCORES is not set |
| 1003 | # CONFIG_I2C_PARPORT_LIGHT is not set | 1015 | # CONFIG_I2C_PARPORT_LIGHT is not set |
| 1016 | # CONFIG_I2C_PASEMI is not set | ||
| 1004 | # CONFIG_I2C_PROSAVAGE is not set | 1017 | # CONFIG_I2C_PROSAVAGE is not set |
| 1005 | # CONFIG_I2C_SAVAGE4 is not set | 1018 | # CONFIG_I2C_SAVAGE4 is not set |
| 1006 | # CONFIG_I2C_SIS5595 is not set | 1019 | # CONFIG_I2C_SIS5595 is not set |
| @@ -1047,6 +1060,7 @@ CONFIG_HWMON=y | |||
| 1047 | # CONFIG_SENSORS_ADM1021 is not set | 1060 | # CONFIG_SENSORS_ADM1021 is not set |
| 1048 | # CONFIG_SENSORS_ADM1025 is not set | 1061 | # CONFIG_SENSORS_ADM1025 is not set |
| 1049 | # CONFIG_SENSORS_ADM1026 is not set | 1062 | # CONFIG_SENSORS_ADM1026 is not set |
| 1063 | # CONFIG_SENSORS_ADM1029 is not set | ||
| 1050 | # CONFIG_SENSORS_ADM1031 is not set | 1064 | # CONFIG_SENSORS_ADM1031 is not set |
| 1051 | # CONFIG_SENSORS_ADM9240 is not set | 1065 | # CONFIG_SENSORS_ADM9240 is not set |
| 1052 | # CONFIG_SENSORS_K8TEMP is not set | 1066 | # CONFIG_SENSORS_K8TEMP is not set |
| @@ -1090,6 +1104,11 @@ CONFIG_SENSORS_SMSC47B397=m | |||
| 1090 | # CONFIG_HWMON_DEBUG_CHIP is not set | 1104 | # CONFIG_HWMON_DEBUG_CHIP is not set |
| 1091 | 1105 | ||
| 1092 | # | 1106 | # |
| 1107 | # Multifunction device drivers | ||
| 1108 | # | ||
| 1109 | # CONFIG_MFD_SM501 is not set | ||
| 1110 | |||
| 1111 | # | ||
| 1093 | # Multimedia devices | 1112 | # Multimedia devices |
| 1094 | # | 1113 | # |
| 1095 | # CONFIG_VIDEO_DEV is not set | 1114 | # CONFIG_VIDEO_DEV is not set |
| @@ -1103,7 +1122,7 @@ CONFIG_SENSORS_SMSC47B397=m | |||
| 1103 | # | 1122 | # |
| 1104 | # Graphics support | 1123 | # Graphics support |
| 1105 | # | 1124 | # |
| 1106 | # CONFIG_FIRMWARE_EDID is not set | 1125 | # CONFIG_BACKLIGHT_LCD_SUPPORT is not set |
| 1107 | # CONFIG_FB is not set | 1126 | # CONFIG_FB is not set |
| 1108 | 1127 | ||
| 1109 | # | 1128 | # |
| @@ -1114,7 +1133,6 @@ CONFIG_VGACON_SOFT_SCROLLBACK=y | |||
| 1114 | CONFIG_VGACON_SOFT_SCROLLBACK_SIZE=256 | 1133 | CONFIG_VGACON_SOFT_SCROLLBACK_SIZE=256 |
| 1115 | CONFIG_VIDEO_SELECT=y | 1134 | CONFIG_VIDEO_SELECT=y |
| 1116 | CONFIG_DUMMY_CONSOLE=y | 1135 | CONFIG_DUMMY_CONSOLE=y |
| 1117 | # CONFIG_BACKLIGHT_LCD_SUPPORT is not set | ||
| 1118 | 1136 | ||
| 1119 | # | 1137 | # |
| 1120 | # Sound | 1138 | # Sound |
| @@ -1130,9 +1148,8 @@ CONFIG_SOUND=y | |||
| 1130 | # Open Sound System | 1148 | # Open Sound System |
| 1131 | # | 1149 | # |
| 1132 | CONFIG_SOUND_PRIME=y | 1150 | CONFIG_SOUND_PRIME=y |
| 1133 | CONFIG_OBSOLETE_OSS=y | 1151 | # CONFIG_OBSOLETE_OSS is not set |
| 1134 | # CONFIG_SOUND_BT878 is not set | 1152 | # CONFIG_SOUND_BT878 is not set |
| 1135 | # CONFIG_SOUND_ES1371 is not set | ||
| 1136 | CONFIG_SOUND_ICH=y | 1153 | CONFIG_SOUND_ICH=y |
| 1137 | # CONFIG_SOUND_TRIDENT is not set | 1154 | # CONFIG_SOUND_TRIDENT is not set |
| 1138 | # CONFIG_SOUND_MSNDCLAS is not set | 1155 | # CONFIG_SOUND_MSNDCLAS is not set |
| @@ -1263,6 +1280,7 @@ CONFIG_USB_MON=y | |||
| 1263 | # CONFIG_USB_RIO500 is not set | 1280 | # CONFIG_USB_RIO500 is not set |
| 1264 | # CONFIG_USB_LEGOTOWER is not set | 1281 | # CONFIG_USB_LEGOTOWER is not set |
| 1265 | # CONFIG_USB_LCD is not set | 1282 | # CONFIG_USB_LCD is not set |
| 1283 | # CONFIG_USB_BERRY_CHARGE is not set | ||
| 1266 | # CONFIG_USB_LED is not set | 1284 | # CONFIG_USB_LED is not set |
| 1267 | # CONFIG_USB_CYPRESS_CY7C63 is not set | 1285 | # CONFIG_USB_CYPRESS_CY7C63 is not set |
| 1268 | # CONFIG_USB_CYTHERM is not set | 1286 | # CONFIG_USB_CYTHERM is not set |
| @@ -1273,6 +1291,7 @@ CONFIG_USB_MON=y | |||
| 1273 | # CONFIG_USB_SISUSBVGA is not set | 1291 | # CONFIG_USB_SISUSBVGA is not set |
| 1274 | # CONFIG_USB_LD is not set | 1292 | # CONFIG_USB_LD is not set |
| 1275 | # CONFIG_USB_TRANCEVIBRATOR is not set | 1293 | # CONFIG_USB_TRANCEVIBRATOR is not set |
| 1294 | # CONFIG_USB_IOWARRIOR is not set | ||
| 1276 | # CONFIG_USB_TEST is not set | 1295 | # CONFIG_USB_TEST is not set |
| 1277 | 1296 | ||
| 1278 | # | 1297 | # |
| @@ -1538,6 +1557,7 @@ CONFIG_DEBUG_KERNEL=y | |||
| 1538 | CONFIG_LOG_BUF_SHIFT=18 | 1557 | CONFIG_LOG_BUF_SHIFT=18 |
| 1539 | CONFIG_DETECT_SOFTLOCKUP=y | 1558 | CONFIG_DETECT_SOFTLOCKUP=y |
| 1540 | # CONFIG_SCHEDSTATS is not set | 1559 | # CONFIG_SCHEDSTATS is not set |
| 1560 | # CONFIG_TIMER_STATS is not set | ||
| 1541 | # CONFIG_DEBUG_SLAB is not set | 1561 | # CONFIG_DEBUG_SLAB is not set |
| 1542 | # CONFIG_DEBUG_RT_MUTEXES is not set | 1562 | # CONFIG_DEBUG_RT_MUTEXES is not set |
| 1543 | # CONFIG_RT_MUTEX_TESTER is not set | 1563 | # CONFIG_RT_MUTEX_TESTER is not set |
| @@ -1556,6 +1576,7 @@ CONFIG_DEBUG_BUGVERBOSE=y | |||
| 1556 | # CONFIG_FORCED_INLINING is not set | 1576 | # CONFIG_FORCED_INLINING is not set |
| 1557 | # CONFIG_RCU_TORTURE_TEST is not set | 1577 | # CONFIG_RCU_TORTURE_TEST is not set |
| 1558 | # CONFIG_LKDTM is not set | 1578 | # CONFIG_LKDTM is not set |
| 1579 | # CONFIG_FAULT_INJECTION is not set | ||
| 1559 | # CONFIG_DEBUG_RODATA is not set | 1580 | # CONFIG_DEBUG_RODATA is not set |
| 1560 | # CONFIG_IOMMU_DEBUG is not set | 1581 | # CONFIG_IOMMU_DEBUG is not set |
| 1561 | CONFIG_DEBUG_STACKOVERFLOW=y | 1582 | CONFIG_DEBUG_STACKOVERFLOW=y |
diff --git a/arch/x86_64/ia32/ia32entry.S b/arch/x86_64/ia32/ia32entry.S index eda7a0d4dc15..796df6992f62 100644 --- a/arch/x86_64/ia32/ia32entry.S +++ b/arch/x86_64/ia32/ia32entry.S | |||
| @@ -560,7 +560,7 @@ ia32_sys_call_table: | |||
| 560 | .quad sys_sched_yield | 560 | .quad sys_sched_yield |
| 561 | .quad sys_sched_get_priority_max | 561 | .quad sys_sched_get_priority_max |
| 562 | .quad sys_sched_get_priority_min /* 160 */ | 562 | .quad sys_sched_get_priority_min /* 160 */ |
| 563 | .quad sys_sched_rr_get_interval | 563 | .quad sys32_sched_rr_get_interval |
| 564 | .quad compat_sys_nanosleep | 564 | .quad compat_sys_nanosleep |
| 565 | .quad sys_mremap | 565 | .quad sys_mremap |
| 566 | .quad sys_setresuid16 | 566 | .quad sys_setresuid16 |
diff --git a/arch/x86_64/kernel/e820.c b/arch/x86_64/kernel/e820.c index 4651fd22b213..a490fabfcf47 100644 --- a/arch/x86_64/kernel/e820.c +++ b/arch/x86_64/kernel/e820.c | |||
| @@ -662,7 +662,7 @@ static int __init parse_memmap_opt(char *p) | |||
| 662 | } | 662 | } |
| 663 | early_param("memmap", parse_memmap_opt); | 663 | early_param("memmap", parse_memmap_opt); |
| 664 | 664 | ||
| 665 | void finish_e820_parsing(void) | 665 | void __init finish_e820_parsing(void) |
| 666 | { | 666 | { |
| 667 | if (userdef) { | 667 | if (userdef) { |
| 668 | printk(KERN_INFO "user-defined physical RAM map:\n"); | 668 | printk(KERN_INFO "user-defined physical RAM map:\n"); |
diff --git a/arch/x86_64/kernel/early-quirks.c b/arch/x86_64/kernel/early-quirks.c index dec587b293bf..148c6bcf5bb4 100644 --- a/arch/x86_64/kernel/early-quirks.c +++ b/arch/x86_64/kernel/early-quirks.c | |||
| @@ -16,7 +16,7 @@ | |||
| 16 | #include <asm/proto.h> | 16 | #include <asm/proto.h> |
| 17 | #include <asm/dma.h> | 17 | #include <asm/dma.h> |
| 18 | 18 | ||
| 19 | static void via_bugs(void) | 19 | static void __init via_bugs(void) |
| 20 | { | 20 | { |
| 21 | #ifdef CONFIG_IOMMU | 21 | #ifdef CONFIG_IOMMU |
| 22 | if ((end_pfn > MAX_DMA32_PFN || force_iommu) && | 22 | if ((end_pfn > MAX_DMA32_PFN || force_iommu) && |
| @@ -36,7 +36,7 @@ static int __init nvidia_hpet_check(struct acpi_table_header *header) | |||
| 36 | } | 36 | } |
| 37 | #endif | 37 | #endif |
| 38 | 38 | ||
| 39 | static void nvidia_bugs(void) | 39 | static void __init nvidia_bugs(void) |
| 40 | { | 40 | { |
| 41 | #ifdef CONFIG_ACPI | 41 | #ifdef CONFIG_ACPI |
| 42 | /* | 42 | /* |
| @@ -62,7 +62,7 @@ static void nvidia_bugs(void) | |||
| 62 | 62 | ||
| 63 | } | 63 | } |
| 64 | 64 | ||
| 65 | static void ati_bugs(void) | 65 | static void __init ati_bugs(void) |
| 66 | { | 66 | { |
| 67 | if (timer_over_8254 == 1) { | 67 | if (timer_over_8254 == 1) { |
| 68 | timer_over_8254 = 0; | 68 | timer_over_8254 = 0; |
| @@ -88,7 +88,7 @@ struct chipset { | |||
| 88 | void (*f)(void); | 88 | void (*f)(void); |
| 89 | }; | 89 | }; |
| 90 | 90 | ||
| 91 | static struct chipset early_qrk[] = { | 91 | static struct __initdata chipset early_qrk[] = { |
| 92 | { PCI_VENDOR_ID_NVIDIA, nvidia_bugs }, | 92 | { PCI_VENDOR_ID_NVIDIA, nvidia_bugs }, |
| 93 | { PCI_VENDOR_ID_VIA, via_bugs }, | 93 | { PCI_VENDOR_ID_VIA, via_bugs }, |
| 94 | { PCI_VENDOR_ID_ATI, ati_bugs }, | 94 | { PCI_VENDOR_ID_ATI, ati_bugs }, |
diff --git a/arch/x86_64/kernel/mpparse.c b/arch/x86_64/kernel/mpparse.c index 50dd8bef850e..455aa0b932f0 100644 --- a/arch/x86_64/kernel/mpparse.c +++ b/arch/x86_64/kernel/mpparse.c | |||
| @@ -60,9 +60,9 @@ unsigned long mp_lapic_addr = 0; | |||
| 60 | /* Processor that is doing the boot up */ | 60 | /* Processor that is doing the boot up */ |
| 61 | unsigned int boot_cpu_id = -1U; | 61 | unsigned int boot_cpu_id = -1U; |
| 62 | /* Internal processor count */ | 62 | /* Internal processor count */ |
| 63 | unsigned int num_processors __initdata = 0; | 63 | unsigned int num_processors __cpuinitdata = 0; |
| 64 | 64 | ||
| 65 | unsigned disabled_cpus __initdata; | 65 | unsigned disabled_cpus __cpuinitdata; |
| 66 | 66 | ||
| 67 | /* Bitmask of physically existing CPUs */ | 67 | /* Bitmask of physically existing CPUs */ |
| 68 | physid_mask_t phys_cpu_present_map = PHYSID_MASK_NONE; | 68 | physid_mask_t phys_cpu_present_map = PHYSID_MASK_NONE; |
diff --git a/arch/x86_64/kernel/pci-gart.c b/arch/x86_64/kernel/pci-gart.c index 030eb3753358..2bac8c60ad61 100644 --- a/arch/x86_64/kernel/pci-gart.c +++ b/arch/x86_64/kernel/pci-gart.c | |||
| @@ -675,7 +675,7 @@ void __init gart_iommu_init(void) | |||
| 675 | dma_ops = &gart_dma_ops; | 675 | dma_ops = &gart_dma_ops; |
| 676 | } | 676 | } |
| 677 | 677 | ||
| 678 | void gart_parse_options(char *p) | 678 | void __init gart_parse_options(char *p) |
| 679 | { | 679 | { |
| 680 | int arg; | 680 | int arg; |
| 681 | 681 | ||
diff --git a/arch/x86_64/kernel/x8664_ksyms.c b/arch/x86_64/kernel/x8664_ksyms.c index 0dffae69f4ad..77c25b307635 100644 --- a/arch/x86_64/kernel/x8664_ksyms.c +++ b/arch/x86_64/kernel/x8664_ksyms.c | |||
| @@ -59,3 +59,4 @@ EXPORT_SYMBOL(empty_zero_page); | |||
| 59 | EXPORT_SYMBOL(init_level4_pgt); | 59 | EXPORT_SYMBOL(init_level4_pgt); |
| 60 | EXPORT_SYMBOL(load_gs_index); | 60 | EXPORT_SYMBOL(load_gs_index); |
| 61 | 61 | ||
| 62 | EXPORT_SYMBOL(_proxy_pda); | ||
diff --git a/include/asm-x86_64/proto.h b/include/asm-x86_64/proto.h index f54f3abf93ce..b6e65a699f2a 100644 --- a/include/asm-x86_64/proto.h +++ b/include/asm-x86_64/proto.h | |||
| @@ -99,7 +99,7 @@ extern int force_iommu, no_iommu; | |||
| 99 | extern int iommu_detected; | 99 | extern int iommu_detected; |
| 100 | #ifdef CONFIG_IOMMU | 100 | #ifdef CONFIG_IOMMU |
| 101 | extern void gart_iommu_init(void); | 101 | extern void gart_iommu_init(void); |
| 102 | extern void gart_parse_options(char *); | 102 | extern void __init gart_parse_options(char *); |
| 103 | extern void iommu_hole_init(void); | 103 | extern void iommu_hole_init(void); |
| 104 | extern int fallback_aper_order; | 104 | extern int fallback_aper_order; |
| 105 | extern int fallback_aper_force; | 105 | extern int fallback_aper_force; |
diff --git a/include/asm-x86_64/smp.h b/include/asm-x86_64/smp.h index e17b9ec42e98..de592a408c07 100644 --- a/include/asm-x86_64/smp.h +++ b/include/asm-x86_64/smp.h | |||
| @@ -7,6 +7,7 @@ | |||
| 7 | #include <linux/threads.h> | 7 | #include <linux/threads.h> |
| 8 | #include <linux/cpumask.h> | 8 | #include <linux/cpumask.h> |
| 9 | #include <linux/bitops.h> | 9 | #include <linux/bitops.h> |
| 10 | #include <linux/init.h> | ||
| 10 | extern int disable_apic; | 11 | extern int disable_apic; |
| 11 | 12 | ||
| 12 | #include <asm/fixmap.h> | 13 | #include <asm/fixmap.h> |
| @@ -68,7 +69,7 @@ extern int __cpu_disable(void); | |||
| 68 | extern void __cpu_die(unsigned int cpu); | 69 | extern void __cpu_die(unsigned int cpu); |
| 69 | extern void prefill_possible_map(void); | 70 | extern void prefill_possible_map(void); |
| 70 | extern unsigned num_processors; | 71 | extern unsigned num_processors; |
| 71 | extern unsigned disabled_cpus; | 72 | extern unsigned __cpuinitdata disabled_cpus; |
| 72 | 73 | ||
| 73 | #define NO_PROC_ID 0xFF /* No processor magic marker */ | 74 | #define NO_PROC_ID 0xFF /* No processor magic marker */ |
| 74 | 75 | ||
