summaryrefslogtreecommitdiffstats
path: root/include/asm-x86
diff options
context:
space:
mode:
authorYinghai Lu <yhlu.kernel@gmail.com>2008-08-19 20:50:33 -0700
committerIngo Molnar <mingo@elte.hu>2008-10-16 16:52:53 +0200
commitd83e94acd95789829804fd9e442bd18975f4dc89 (patch)
treea7aed9c440365914684b895ece5b43cffcdde70c /include/asm-x86
parent7a959cff725872ce9c3a534f10724d7bb2cb3c4a (diff)
downloadblackbird-op-linux-d83e94acd95789829804fd9e442bd18975f4dc89.tar.gz
blackbird-op-linux-d83e94acd95789829804fd9e442bd18975f4dc89.zip
x86, io-apic: remove union about dest for log/phy
let user decide the meaning of the bits. This unifies the 32-bit and 64-bit io-apic code a bit. Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/asm-x86')
-rw-r--r--include/asm-x86/io_apic.h16
1 files changed, 0 insertions, 16 deletions
diff --git a/include/asm-x86/io_apic.h b/include/asm-x86/io_apic.h
index 8ec68a50cf10..ce818292d2c7 100644
--- a/include/asm-x86/io_apic.h
+++ b/include/asm-x86/io_apic.h
@@ -87,24 +87,8 @@ struct IO_APIC_route_entry {
mask : 1, /* 0: enabled, 1: disabled */
__reserved_2 : 15;
-#ifdef CONFIG_X86_32
- union {
- struct {
- __u32 __reserved_1 : 24,
- physical_dest : 4,
- __reserved_2 : 4;
- } physical;
-
- struct {
- __u32 __reserved_1 : 24,
- logical_dest : 8;
- } logical;
- } dest;
-#else
__u32 __reserved_3 : 24,
dest : 8;
-#endif
-
} __attribute__ ((packed));
struct IR_IO_APIC_route_entry {
OpenPOWER on IntegriCloud