idt.c (48227e21f7430e31042f63e078a45cd230e9fdfc) idt.c (8edd7e37aed8b9df938a63f0b0259c70569ce3d2)
1// SPDX-License-Identifier: GPL-2.0-only
2/*
3 * Interrupt descriptor table related code
4 */
5#include <linux/interrupt.h>
6
7#include <asm/traps.h>
8#include <asm/proto.h>

--- 46 unchanged lines hidden (view full) ---

55static bool idt_setup_done __initdata;
56
57/*
58 * Early traps running on the DEFAULT_STACK because the other interrupt
59 * stacks work only after cpu_init().
60 */
61static const __initconst struct idt_data early_idts[] = {
62 INTG(X86_TRAP_DB, debug),
1// SPDX-License-Identifier: GPL-2.0-only
2/*
3 * Interrupt descriptor table related code
4 */
5#include <linux/interrupt.h>
6
7#include <asm/traps.h>
8#include <asm/proto.h>

--- 46 unchanged lines hidden (view full) ---

55static bool idt_setup_done __initdata;
56
57/*
58 * Early traps running on the DEFAULT_STACK because the other interrupt
59 * stacks work only after cpu_init().
60 */
61static const __initconst struct idt_data early_idts[] = {
62 INTG(X86_TRAP_DB, debug),
63 SYSG(X86_TRAP_BP, int3),
63 SYSG(X86_TRAP_BP, asm_exc_int3),
64#ifdef CONFIG_X86_32
65 INTG(X86_TRAP_PF, page_fault),
66#endif
67};
68
69/*
70 * The default IDT entries which are set up in trap_init() before
71 * cpu_init() is invoked. Interrupt stacks cannot be used at that point and

--- 302 unchanged lines hidden ---
64#ifdef CONFIG_X86_32
65 INTG(X86_TRAP_PF, page_fault),
66#endif
67};
68
69/*
70 * The default IDT entries which are set up in trap_init() before
71 * cpu_init() is invoked. Interrupt stacks cannot be used at that point and

--- 302 unchanged lines hidden ---