summaryrefslogtreecommitdiffstats
path: root/include/asm-x86
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2008-07-26 16:30:19 +0200
committerIngo Molnar <mingo@elte.hu>2008-07-26 16:30:19 +0200
commit10d3285d0b3af641ee446f0be8f0a7f40cb515b6 (patch)
tree836ad323a1eae8a4bdd5ab5f5e4271efeb85cf8c /include/asm-x86
parent6dec3a10a7a6093af10cef7ac56021150afd6451 (diff)
parent3a61ec387c9092dfc91a5959145d36835a72fc4c (diff)
downloadblackbird-op-linux-10d3285d0b3af641ee446f0be8f0a7f40cb515b6.tar.gz
blackbird-op-linux-10d3285d0b3af641ee446f0be8f0a7f40cb515b6.zip
Merge branch 'x86/urgent' into x86/core
Conflicts: include/asm-x86/gpio.h Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/asm-x86')
-rw-r--r--include/asm-x86/gpio.h6
-rw-r--r--include/asm-x86/mach-summit/mach_apic.h2
2 files changed, 1 insertions, 7 deletions
diff --git a/include/asm-x86/gpio.h b/include/asm-x86/gpio.h
index f9e8f8918a9d..497fb980d962 100644
--- a/include/asm-x86/gpio.h
+++ b/include/asm-x86/gpio.h
@@ -16,10 +16,6 @@
#ifndef _ASM_I386_GPIO_H
#define _ASM_I386_GPIO_H
-#ifdef CONFIG_X86_RDC321X
-#include <gpio.h>
-#else /* CONFIG_X86_RDC321X */
-
#include <asm-generic/gpio.h>
#ifdef CONFIG_GPIOLIB
@@ -57,6 +53,4 @@ static inline int irq_to_gpio(unsigned int irq)
#endif /* CONFIG_GPIOLIB */
-#endif /* CONFIG_X86_RDC321X */
-
#endif /* ASM_X86__GPIO_H */
diff --git a/include/asm-x86/mach-summit/mach_apic.h b/include/asm-x86/mach-summit/mach_apic.h
index ef77af36cc94..7a66758d701d 100644
--- a/include/asm-x86/mach-summit/mach_apic.h
+++ b/include/asm-x86/mach-summit/mach_apic.h
@@ -122,7 +122,7 @@ static inline physid_mask_t ioapic_phys_id_map(physid_mask_t phys_id_map)
static inline physid_mask_t apicid_to_cpu_present(int apicid)
{
- return physid_mask_of_physid(0);
+ return physid_mask_of_physid(apicid);
}
static inline void setup_portio_remap(void)
OpenPOWER on IntegriCloud