diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2008-04-21 18:49:58 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-04-21 18:49:58 -0400 |
commit | e80ab411e589e00550e2e6e5a6a02d59cc730357 (patch) | |
tree | 870225ff7b5b8d03e82a996963213a4bb9cce248 /arch/x86 | |
parent | 529a41e36673b518c9e091f3a8d932b6b9e3c461 (diff) | |
parent | ee959b00c335d7780136c5abda37809191fe52c3 (diff) |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-2.6
* git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-2.6: (36 commits)
SCSI: convert struct class_device to struct device
DRM: remove unused dev_class
IB: rename "dev" to "srp_dev" in srp_host structure
IB: convert struct class_device to struct device
memstick: convert struct class_device to struct device
driver core: replace remaining __FUNCTION__ occurrences
sysfs: refill attribute buffer when reading from offset 0
PM: Remove destroy_suspended_device()
Firmware: add iSCSI iBFT Support
PM: Remove legacy PM (fix)
Kobject: Replace list_for_each() with list_for_each_entry().
SYSFS: Explicitly include required header file slab.h.
Driver core: make device_is_registered() work for class devices
PM: Convert wakeup flag accessors to inline functions
PM: Make wakeup flags available whenever CONFIG_PM is set
PM: Fix misuse of wakeup flag accessors in serial core
Driver core: Call device_pm_add() after bus_add_device() in device_add()
PM: Handle device registrations during suspend/resume
block: send disk "change" event for rescan_partitions()
sysdev: detect multiple driver registrations
...
Fixed trivial conflict in include/linux/memory.h due to semaphore header
file change (made irrelevant by the change to mutex).
Diffstat (limited to 'arch/x86')
-rw-r--r-- | arch/x86/kernel/cpuid.c | 4 | ||||
-rw-r--r-- | arch/x86/kernel/msr.c | 4 | ||||
-rw-r--r-- | arch/x86/kernel/setup_32.c | 3 | ||||
-rw-r--r-- | arch/x86/kernel/setup_64.c | 4 |
4 files changed, 9 insertions, 6 deletions
diff --git a/arch/x86/kernel/cpuid.c b/arch/x86/kernel/cpuid.c index 288e7a6598ac..daff52a62248 100644 --- a/arch/x86/kernel/cpuid.c +++ b/arch/x86/kernel/cpuid.c | |||
@@ -154,12 +154,10 @@ static int __cpuinit cpuid_class_cpu_callback(struct notifier_block *nfb, | |||
154 | err = cpuid_device_create(cpu); | 154 | err = cpuid_device_create(cpu); |
155 | break; | 155 | break; |
156 | case CPU_UP_CANCELED: | 156 | case CPU_UP_CANCELED: |
157 | case CPU_UP_CANCELED_FROZEN: | ||
157 | case CPU_DEAD: | 158 | case CPU_DEAD: |
158 | cpuid_device_destroy(cpu); | 159 | cpuid_device_destroy(cpu); |
159 | break; | 160 | break; |
160 | case CPU_UP_CANCELED_FROZEN: | ||
161 | destroy_suspended_device(cpuid_class, MKDEV(CPUID_MAJOR, cpu)); | ||
162 | break; | ||
163 | } | 161 | } |
164 | return err ? NOTIFY_BAD : NOTIFY_OK; | 162 | return err ? NOTIFY_BAD : NOTIFY_OK; |
165 | } | 163 | } |
diff --git a/arch/x86/kernel/msr.c b/arch/x86/kernel/msr.c index 4dfb40530057..1f3abe048e93 100644 --- a/arch/x86/kernel/msr.c +++ b/arch/x86/kernel/msr.c | |||
@@ -162,12 +162,10 @@ static int __cpuinit msr_class_cpu_callback(struct notifier_block *nfb, | |||
162 | err = msr_device_create(cpu); | 162 | err = msr_device_create(cpu); |
163 | break; | 163 | break; |
164 | case CPU_UP_CANCELED: | 164 | case CPU_UP_CANCELED: |
165 | case CPU_UP_CANCELED_FROZEN: | ||
165 | case CPU_DEAD: | 166 | case CPU_DEAD: |
166 | msr_device_destroy(cpu); | 167 | msr_device_destroy(cpu); |
167 | break; | 168 | break; |
168 | case CPU_UP_CANCELED_FROZEN: | ||
169 | destroy_suspended_device(msr_class, MKDEV(MSR_MAJOR, cpu)); | ||
170 | break; | ||
171 | } | 169 | } |
172 | return err ? NOTIFY_BAD : NOTIFY_OK; | 170 | return err ? NOTIFY_BAD : NOTIFY_OK; |
173 | } | 171 | } |
diff --git a/arch/x86/kernel/setup_32.c b/arch/x86/kernel/setup_32.c index 1c4799e68718..78828b0f604f 100644 --- a/arch/x86/kernel/setup_32.c +++ b/arch/x86/kernel/setup_32.c | |||
@@ -39,6 +39,7 @@ | |||
39 | #include <linux/efi.h> | 39 | #include <linux/efi.h> |
40 | #include <linux/init.h> | 40 | #include <linux/init.h> |
41 | #include <linux/edd.h> | 41 | #include <linux/edd.h> |
42 | #include <linux/iscsi_ibft.h> | ||
42 | #include <linux/nodemask.h> | 43 | #include <linux/nodemask.h> |
43 | #include <linux/kexec.h> | 44 | #include <linux/kexec.h> |
44 | #include <linux/crash_dump.h> | 45 | #include <linux/crash_dump.h> |
@@ -689,6 +690,8 @@ void __init setup_bootmem_allocator(void) | |||
689 | #endif | 690 | #endif |
690 | numa_kva_reserve(); | 691 | numa_kva_reserve(); |
691 | reserve_crashkernel(); | 692 | reserve_crashkernel(); |
693 | |||
694 | reserve_ibft_region(); | ||
692 | } | 695 | } |
693 | 696 | ||
694 | /* | 697 | /* |
diff --git a/arch/x86/kernel/setup_64.c b/arch/x86/kernel/setup_64.c index 6b8e11f0c15d..c2ec3dcb6b99 100644 --- a/arch/x86/kernel/setup_64.c +++ b/arch/x86/kernel/setup_64.c | |||
@@ -33,6 +33,7 @@ | |||
33 | #include <linux/acpi.h> | 33 | #include <linux/acpi.h> |
34 | #include <linux/kallsyms.h> | 34 | #include <linux/kallsyms.h> |
35 | #include <linux/edd.h> | 35 | #include <linux/edd.h> |
36 | #include <linux/iscsi_ibft.h> | ||
36 | #include <linux/mmzone.h> | 37 | #include <linux/mmzone.h> |
37 | #include <linux/kexec.h> | 38 | #include <linux/kexec.h> |
38 | #include <linux/cpufreq.h> | 39 | #include <linux/cpufreq.h> |
@@ -439,6 +440,9 @@ void __init setup_arch(char **cmdline_p) | |||
439 | } | 440 | } |
440 | #endif | 441 | #endif |
441 | reserve_crashkernel(); | 442 | reserve_crashkernel(); |
443 | |||
444 | reserve_ibft_region(); | ||
445 | |||
442 | paging_init(); | 446 | paging_init(); |
443 | map_vsyscall(); | 447 | map_vsyscall(); |
444 | 448 | ||