diff options
Diffstat (limited to 'arch/microblaze/mm/fault.c')
-rw-r--r-- | arch/microblaze/mm/fault.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/arch/microblaze/mm/fault.c b/arch/microblaze/mm/fault.c index 714b35a9c4f7..731f739d17a1 100644 --- a/arch/microblaze/mm/fault.c +++ b/arch/microblaze/mm/fault.c | |||
@@ -32,7 +32,7 @@ | |||
32 | #include <asm/page.h> | 32 | #include <asm/page.h> |
33 | #include <asm/pgtable.h> | 33 | #include <asm/pgtable.h> |
34 | #include <asm/mmu.h> | 34 | #include <asm/mmu.h> |
35 | #include <asm/mmu_context.h> | 35 | #include <linux/mmu_context.h> |
36 | #include <linux/uaccess.h> | 36 | #include <linux/uaccess.h> |
37 | #include <asm/exceptions.h> | 37 | #include <asm/exceptions.h> |
38 | 38 | ||
@@ -100,7 +100,7 @@ void do_page_fault(struct pt_regs *regs, unsigned long address, | |||
100 | 100 | ||
101 | /* On a kernel SLB miss we can only check for a valid exception entry */ | 101 | /* On a kernel SLB miss we can only check for a valid exception entry */ |
102 | if (unlikely(kernel_mode(regs) && (address >= TASK_SIZE))) { | 102 | if (unlikely(kernel_mode(regs) && (address >= TASK_SIZE))) { |
103 | printk(KERN_WARNING "kernel task_size exceed"); | 103 | pr_warn("kernel task_size exceed"); |
104 | _exception(SIGSEGV, regs, code, address); | 104 | _exception(SIGSEGV, regs, code, address); |
105 | } | 105 | } |
106 | 106 | ||
@@ -114,9 +114,9 @@ void do_page_fault(struct pt_regs *regs, unsigned long address, | |||
114 | 114 | ||
115 | /* in_atomic() in user mode is really bad, | 115 | /* in_atomic() in user mode is really bad, |
116 | as is current->mm == NULL. */ | 116 | as is current->mm == NULL. */ |
117 | printk(KERN_EMERG "Page fault in user mode with " | 117 | pr_emerg("Page fault in user mode with in_atomic(), mm = %p\n", |
118 | "in_atomic(), mm = %p\n", mm); | 118 | mm); |
119 | printk(KERN_EMERG "r15 = %lx MSR = %lx\n", | 119 | pr_emerg("r15 = %lx MSR = %lx\n", |
120 | regs->r15, regs->msr); | 120 | regs->r15, regs->msr); |
121 | die("Weird page fault", regs, SIGSEGV); | 121 | die("Weird page fault", regs, SIGSEGV); |
122 | } | 122 | } |