mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
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 <[email protected]> Signed-off-by: Ingo Molnar <[email protected]>
This commit is contained in:
parent
7a959cff72
commit
d83e94acd9
2 changed files with 7 additions and 27 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in a new issue