diff options
author | Graeme Russ <graeme.russ@gmail.com> | 2011-12-19 03:26:18 (GMT) |
---|---|---|
committer | Graeme Russ <graeme.russ@gmail.com> | 2012-01-04 11:29:40 (GMT) |
commit | 58c7a6751dd0978172741503b4dc0c6b23a60b33 (patch) | |
tree | ab4730c79a8c522afc5c5ba02343aa2bb1e33f61 /arch/x86/cpu/interrupts.c | |
parent | 98f1fa9fd4f468c67b5f4d16077898992d6bae0b (diff) | |
download | u-boot-58c7a6751dd0978172741503b4dc0c6b23a60b33.tar.xz |
x86: Tweak IDT and GDT for alignment and readability
--
Changes for v2:
- Renamed to better reflect nature of changes
Diffstat (limited to 'arch/x86/cpu/interrupts.c')
-rw-r--r-- | arch/x86/cpu/interrupts.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/cpu/interrupts.c b/arch/x86/cpu/interrupts.c index e0958eb..43ec3f8 100644 --- a/arch/x86/cpu/interrupts.c +++ b/arch/x86/cpu/interrupts.c @@ -174,7 +174,7 @@ struct desc_ptr { unsigned short segment; } __packed; -struct idt_entry idt[256] __attribute__((aligned(16))); +struct idt_entry idt[256] __aligned(16); struct desc_ptr idt_ptr; |