aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mn10300/mm
diff options
context:
space:
mode:
authorAkira Takeuchi <takeuchi.akr@jp.panasonic.com>2010-10-27 12:28:41 -0400
committerDavid Howells <dhowells@redhat.com>2010-10-27 12:28:41 -0400
commit86c0f935c1eee1d778b43895f80c9d27a896dfd9 (patch)
tree488475c323ebaec70098a3963f988c9f54bcc8bd /arch/mn10300/mm
parent8fbbf7c76a0c89cede075ab7e231970a42e55456 (diff)
MN10300: Remove monitor/JTAG functions
Remove the monitor trap function and the set_jtag_stub function as they're not really necessary. Signed-off-by: Akira Takeuchi <takeuchi.akr@jp.panasonic.com> Signed-off-by: Kiyoshi Owada <owada.kiyoshi@jp.panasonic.com> Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'arch/mn10300/mm')
-rw-r--r--arch/mn10300/mm/fault.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/mn10300/mm/fault.c b/arch/mn10300/mm/fault.c
index 81f153fa51b4..906e4c8f9ab1 100644
--- a/arch/mn10300/mm/fault.c
+++ b/arch/mn10300/mm/fault.c
@@ -100,8 +100,6 @@ static void print_pagetable_entries(pgd_t *pgdir, unsigned long address)
100} 100}
101#endif 101#endif
102 102
103asmlinkage void monitor_signal(struct pt_regs *);
104
105/* 103/*
106 * This routine handles page faults. It determines the address, 104 * This routine handles page faults. It determines the address,
107 * and the problem, and then passes it off to one of the appropriate 105 * and the problem, and then passes it off to one of the appropriate
@@ -279,7 +277,6 @@ good_area:
279 */ 277 */
280bad_area: 278bad_area:
281 up_read(&mm->mmap_sem); 279 up_read(&mm->mmap_sem);
282 monitor_signal(regs);
283 280
284 /* User mode accesses just cause a SIGSEGV */ 281 /* User mode accesses just cause a SIGSEGV */
285 if ((fault_code & MMUFCR_xFC_ACCESS) == MMUFCR_xFC_ACCESS_USR) { 282 if ((fault_code & MMUFCR_xFC_ACCESS) == MMUFCR_xFC_ACCESS_USR) {
@@ -292,7 +289,6 @@ bad_area:
292 } 289 }
293 290
294no_context: 291no_context:
295 monitor_signal(regs);
296 /* Are we prepared to handle this kernel fault? */ 292 /* Are we prepared to handle this kernel fault? */
297 if (fixup_exception(regs)) 293 if (fixup_exception(regs))
298 return; 294 return;
@@ -345,7 +341,6 @@ out_of_memory:
345 341
346do_sigbus: 342do_sigbus:
347 up_read(&mm->mmap_sem); 343 up_read(&mm->mmap_sem);
348 monitor_signal(regs);
349 344
350 /* 345 /*
351 * Send a sigbus, regardless of whether we were in kernel 346 * Send a sigbus, regardless of whether we were in kernel