diff options
author | Olof Johansson <olof@lixom.net> | 2013-08-04 22:19:05 +0200 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2013-08-04 22:19:05 +0200 |
commit | 6a33fc8cacfc7fac829c72bd321868be7e72f609 (patch) | |
tree | ca8572f214a30c4743b731b4ab2809a980b78369 /arch/x86/kernel/traps.c | |
parent | Merge tag 'renesas-fixes-for-v3.12' of git://git.kernel.org/pub/scm/linux/ker... (diff) | |
parent | ARM: dove: fix missing __init section of dove_mpp_gpio_mode (diff) | |
download | linux-6a33fc8cacfc7fac829c72bd321868be7e72f609.tar.xz linux-6a33fc8cacfc7fac829c72bd321868be7e72f609.zip |
Merge tag 'fixes-non-3.12' of git://git.infradead.org/linux-mvebu into next/fixes-non-critical
From Jason Cooper:
mvebu fixes-non-critical for v3.12
- dove
- fix section mismatch (all callers are already _init, so it's just a space
issue)
* tag 'fixes-non-3.12' of git://git.infradead.org/linux-mvebu:
ARM: dove: fix missing __init section of dove_mpp_gpio_mode
+ Linux 3.11-rc2
Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'arch/x86/kernel/traps.c')
-rw-r--r-- | arch/x86/kernel/traps.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/arch/x86/kernel/traps.c b/arch/x86/kernel/traps.c index b0865e88d3cc..1b23a1c92746 100644 --- a/arch/x86/kernel/traps.c +++ b/arch/x86/kernel/traps.c @@ -63,19 +63,19 @@ #include <asm/x86_init.h> #include <asm/pgalloc.h> #include <asm/proto.h> + +/* No need to be aligned, but done to keep all IDTs defined the same way. */ +gate_desc debug_idt_table[NR_VECTORS] __page_aligned_bss; #else #include <asm/processor-flags.h> #include <asm/setup.h> asmlinkage int system_call(void); - -/* - * The IDT has to be page-aligned to simplify the Pentium - * F0 0F bug workaround. - */ -gate_desc idt_table[NR_VECTORS] __page_aligned_data = { { { { 0, 0 } } }, }; #endif +/* Must be page-aligned because the real IDT is used in a fixmap. */ +gate_desc idt_table[NR_VECTORS] __page_aligned_bss; + DECLARE_BITMAP(used_vectors, NR_VECTORS); EXPORT_SYMBOL_GPL(used_vectors); |