diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2008-04-30 22:31:52 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-04-30 22:31:52 -0400 |
commit | 958a2f29a6520a1d2973077ce7854ea9a44f48a2 (patch) | |
tree | 918bc7a850bab351c2a91dbfea66f58d9258495d /include | |
parent | 6de3d58dcfbab516dbe9aff36ea9542f40cd1bf2 (diff) | |
parent | 895d30935ebe05f192e844792668bf8d19deaae7 (diff) |
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/x86/linux-2.6-x86-fixes3
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/x86/linux-2.6-x86-fixes3: (21 commits)
x86: numaq fix
x86: 8K stacks by default
x86: ioremap ram check fix
x86: fix HT cpu booting on 32-bit
x86: optimize inlining off
x86: CONFIG_X86_ELAN fix
x86: Kconfig fix
x86 PAT: fix performance drop for glx, use UC minus for ioremap(), ioremap_nocache() and pci_mmap_page_range()
x86: use defconfigs from x86/configs/*
toshiba: use ioremap_cached
revert: "x86: ioremap(), extend check to all RAM pages"
x86: don't bother printing compat vdso address
fix: x86: support for new UV apic
x86: fix early-BUG message
x86: iommu_sac_force can become static
x86: add proper header for reboot_force
x86 VISWS: build fix
x86, voyager: fix ioremap_nocache()
hpet: fix
x86: unexport kmap_atomic_to_page
...
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-x86/mach-default/mach_apic.h | 7 | ||||
-rw-r--r-- | include/asm-x86/processor.h | 3 | ||||
-rw-r--r-- | include/asm-x86/proto.h | 4 |
3 files changed, 5 insertions, 9 deletions
diff --git a/include/asm-x86/mach-default/mach_apic.h b/include/asm-x86/mach-default/mach_apic.h index 0a6634f62abe..21003b56ae95 100644 --- a/include/asm-x86/mach-default/mach_apic.h +++ b/include/asm-x86/mach-default/mach_apic.h | |||
@@ -109,13 +109,8 @@ static inline int cpu_to_logical_apicid(int cpu) | |||
109 | 109 | ||
110 | static inline int cpu_present_to_apicid(int mps_cpu) | 110 | static inline int cpu_present_to_apicid(int mps_cpu) |
111 | { | 111 | { |
112 | #ifdef CONFIG_X86_64 | 112 | if (mps_cpu < NR_CPUS && cpu_present(mps_cpu)) |
113 | if (cpu_present(mps_cpu)) | ||
114 | return (int)per_cpu(x86_bios_cpu_apicid, mps_cpu); | 113 | return (int)per_cpu(x86_bios_cpu_apicid, mps_cpu); |
115 | #else | ||
116 | if (mps_cpu < get_physical_broadcast()) | ||
117 | return mps_cpu; | ||
118 | #endif | ||
119 | else | 114 | else |
120 | return BAD_APICID; | 115 | return BAD_APICID; |
121 | } | 116 | } |
diff --git a/include/asm-x86/processor.h b/include/asm-x86/processor.h index 2e7974ec77ec..559105220a47 100644 --- a/include/asm-x86/processor.h +++ b/include/asm-x86/processor.h | |||
@@ -3,9 +3,6 @@ | |||
3 | 3 | ||
4 | #include <asm/processor-flags.h> | 4 | #include <asm/processor-flags.h> |
5 | 5 | ||
6 | /* migration helper, for KVM - will be removed in 2.6.25: */ | ||
7 | #define Xgt_desc_struct desc_ptr | ||
8 | |||
9 | /* Forward declaration, a strange C thing */ | 6 | /* Forward declaration, a strange C thing */ |
10 | struct task_struct; | 7 | struct task_struct; |
11 | struct mm_struct; | 8 | struct mm_struct; |
diff --git a/include/asm-x86/proto.h b/include/asm-x86/proto.h index 1e17bcce450e..6c8b41b03f6d 100644 --- a/include/asm-x86/proto.h +++ b/include/asm-x86/proto.h | |||
@@ -20,7 +20,11 @@ extern void syscall32_cpu_init(void); | |||
20 | 20 | ||
21 | extern void check_efer(void); | 21 | extern void check_efer(void); |
22 | 22 | ||
23 | #ifdef CONFIG_X86_BIOS_REBOOT | ||
23 | extern int reboot_force; | 24 | extern int reboot_force; |
25 | #else | ||
26 | static const int reboot_force = 0; | ||
27 | #endif | ||
24 | 28 | ||
25 | long do_arch_prctl(struct task_struct *task, int code, unsigned long addr); | 29 | long do_arch_prctl(struct task_struct *task, int code, unsigned long addr); |
26 | 30 | ||