Loading arch/x86/kernel/crash.c +3 −3 Original line number Original line Diff line number Diff line Loading @@ -25,7 +25,7 @@ #include <linux/kdebug.h> #include <linux/kdebug.h> #include <asm/smp.h> #include <asm/smp.h> #ifdef X86_32 #ifdef CONFIG_X86_32 #include <mach_ipi.h> #include <mach_ipi.h> #else #else #include <asm/mach_apic.h> #include <asm/mach_apic.h> Loading @@ -41,7 +41,7 @@ static int crash_nmi_callback(struct notifier_block *self, unsigned long val, void *data) unsigned long val, void *data) { { struct pt_regs *regs; struct pt_regs *regs; #ifdef X86_32 #ifdef CONFIG_X86_32 struct pt_regs fixed_regs; struct pt_regs fixed_regs; #endif #endif int cpu; int cpu; Loading @@ -60,7 +60,7 @@ static int crash_nmi_callback(struct notifier_block *self, return NOTIFY_STOP; return NOTIFY_STOP; local_irq_disable(); local_irq_disable(); #ifdef X86_32 #ifdef CONFIG_X86_32 if (!user_mode_vm(regs)) { if (!user_mode_vm(regs)) { crash_fixup_ss_esp(&fixed_regs, regs); crash_fixup_ss_esp(&fixed_regs, regs); regs = &fixed_regs; regs = &fixed_regs; Loading arch/x86/mm/fault_32.c +1 −1 Original line number Original line Diff line number Diff line Loading @@ -550,7 +550,7 @@ fastcall void __kprobes do_page_fault(struct pt_regs *regs, page &= PAGE_MASK; page &= PAGE_MASK; page = ((__typeof__(page) *) __va(page))[(address >> PMD_SHIFT) page = ((__typeof__(page) *) __va(page))[(address >> PMD_SHIFT) & (PTRS_PER_PMD - 1)]; & (PTRS_PER_PMD - 1)]; printk(KERN_ALERT "*pde = %016Lx ", page); printk(KERN_CONT "*pde = %016Lx ", page); page &= ~_PAGE_NX; page &= ~_PAGE_NX; } } #else #else Loading Loading
arch/x86/kernel/crash.c +3 −3 Original line number Original line Diff line number Diff line Loading @@ -25,7 +25,7 @@ #include <linux/kdebug.h> #include <linux/kdebug.h> #include <asm/smp.h> #include <asm/smp.h> #ifdef X86_32 #ifdef CONFIG_X86_32 #include <mach_ipi.h> #include <mach_ipi.h> #else #else #include <asm/mach_apic.h> #include <asm/mach_apic.h> Loading @@ -41,7 +41,7 @@ static int crash_nmi_callback(struct notifier_block *self, unsigned long val, void *data) unsigned long val, void *data) { { struct pt_regs *regs; struct pt_regs *regs; #ifdef X86_32 #ifdef CONFIG_X86_32 struct pt_regs fixed_regs; struct pt_regs fixed_regs; #endif #endif int cpu; int cpu; Loading @@ -60,7 +60,7 @@ static int crash_nmi_callback(struct notifier_block *self, return NOTIFY_STOP; return NOTIFY_STOP; local_irq_disable(); local_irq_disable(); #ifdef X86_32 #ifdef CONFIG_X86_32 if (!user_mode_vm(regs)) { if (!user_mode_vm(regs)) { crash_fixup_ss_esp(&fixed_regs, regs); crash_fixup_ss_esp(&fixed_regs, regs); regs = &fixed_regs; regs = &fixed_regs; Loading
arch/x86/mm/fault_32.c +1 −1 Original line number Original line Diff line number Diff line Loading @@ -550,7 +550,7 @@ fastcall void __kprobes do_page_fault(struct pt_regs *regs, page &= PAGE_MASK; page &= PAGE_MASK; page = ((__typeof__(page) *) __va(page))[(address >> PMD_SHIFT) page = ((__typeof__(page) *) __va(page))[(address >> PMD_SHIFT) & (PTRS_PER_PMD - 1)]; & (PTRS_PER_PMD - 1)]; printk(KERN_ALERT "*pde = %016Lx ", page); printk(KERN_CONT "*pde = %016Lx ", page); page &= ~_PAGE_NX; page &= ~_PAGE_NX; } } #else #else Loading