|
2 | 2 | * linux/arch/m68knommu/mm/fault.c
|
3 | 3 | *
|
4 | 4 | * Copyright (C) 1998 D. Jeff Dionne <[email protected]>,
|
5 |
| - * Copyright (C) 2000 Lineo, Inc. (www.lineo.com) |
| 5 | + * Copyright (C) 2000 Lineo, Inc. (www.lineo.com) |
6 | 6 | *
|
7 | 7 | * Based on:
|
8 | 8 | *
|
@@ -36,19 +36,19 @@ asmlinkage int do_page_fault(struct pt_regs *regs, unsigned long address,
|
36 | 36 | unsigned long error_code)
|
37 | 37 | {
|
38 | 38 | #ifdef DEBUG
|
39 |
| - printk (KERN_DEBUG "regs->sr=%#x, regs->pc=%#lx, address=%#lx, %ld\n", |
| 39 | + printk(KERN_DEBUG "regs->sr=%#x, regs->pc=%#lx, address=%#lx, %ld\n", |
40 | 40 | regs->sr, regs->pc, address, error_code);
|
41 | 41 | #endif
|
42 | 42 |
|
43 | 43 | /*
|
44 | 44 | * Oops. The kernel tried to access some bad page. We'll have to
|
45 | 45 | * terminate things with extreme prejudice.
|
46 | 46 | */
|
47 |
| - if ((unsigned long) address < PAGE_SIZE) { |
| 47 | + if ((unsigned long) address < PAGE_SIZE) |
48 | 48 | printk(KERN_ALERT "Unable to handle kernel NULL pointer dereference");
|
49 |
| - } else |
| 49 | + else |
50 | 50 | printk(KERN_ALERT "Unable to handle kernel access");
|
51 |
| - printk(KERN_ALERT " at virtual address %08lx\n",address); |
| 51 | + printk(KERN_ALERT " at virtual address %08lx\n", address); |
52 | 52 | die_if_kernel("Oops", regs, error_code);
|
53 | 53 | do_exit(SIGKILL);
|
54 | 54 |
|
|
0 commit comments