diff options
| author | Jeff Garzik <jgarzik@pobox.com> | 2005-11-10 04:12:10 -0500 | 
|---|---|---|
| committer | Jeff Garzik <jgarzik@pobox.com> | 2005-11-10 04:12:10 -0500 | 
| commit | 2f67bdb23d74a6c6fd4f98f64239c5c34d1833cc (patch) | |
| tree | fe533abe3e7c400848647b95e4806f5125c654c3 /arch/sparc64/mm/fault.c | |
| parent | d40d9d29c020f8466c96f8e3ad4b7c014ff1085d (diff) | |
| parent | 3b44f137b9a846c5452d9e6e1271b79b1dbcc942 (diff) | |
Merge branch 'master'
Diffstat (limited to 'arch/sparc64/mm/fault.c')
| -rw-r--r-- | arch/sparc64/mm/fault.c | 4 | 
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/sparc64/mm/fault.c b/arch/sparc64/mm/fault.c index 31fbc67719a1..6f0539aa44d0 100644 --- a/arch/sparc64/mm/fault.c +++ b/arch/sparc64/mm/fault.c  | |||
| @@ -30,8 +30,6 @@ | |||
| 30 | #include <asm/sections.h> | 30 | #include <asm/sections.h> | 
| 31 | #include <asm/kdebug.h> | 31 | #include <asm/kdebug.h> | 
| 32 | 32 | ||
| 33 | #define ELEMENTS(arr) (sizeof (arr)/sizeof (arr[0])) | ||
| 34 | |||
| 35 | /* | 33 | /* | 
| 36 | * To debug kernel to catch accesses to certain virtual/physical addresses. | 34 | * To debug kernel to catch accesses to certain virtual/physical addresses. | 
| 37 | * Mode = 0 selects physical watchpoints, mode = 1 selects virtual watchpoints. | 35 | * Mode = 0 selects physical watchpoints, mode = 1 selects virtual watchpoints. | 
| @@ -109,7 +107,7 @@ static void bad_kernel_pc(struct pt_regs *regs) | |||
| 109 | * this. Additionally, to prevent kswapd from ripping ptes from | 107 | * this. Additionally, to prevent kswapd from ripping ptes from | 
| 110 | * under us, raise interrupts around the time that we look at the | 108 | * under us, raise interrupts around the time that we look at the | 
| 111 | * pte, kswapd will have to wait to get his smp ipi response from | 109 | * pte, kswapd will have to wait to get his smp ipi response from | 
| 112 | * us. This saves us having to get page_table_lock. | 110 | * us. vmtruncate likewise. This saves us having to get pte lock. | 
| 113 | */ | 111 | */ | 
| 114 | static unsigned int get_user_insn(unsigned long tpc) | 112 | static unsigned int get_user_insn(unsigned long tpc) | 
| 115 | { | 113 | { | 
