aboutsummaryrefslogtreecommitdiff
path: root/include/asm-sh/kdebug.h
AgeCommit message (Collapse)AuthorFilesLines
2007-10-16x86: optimize page faults like all other achitectures and kill notifier cruftChristoph Hellwig1-2/+0
x86(-64) are the last architectures still using the page fault notifier cruft for the kprobes page fault hook. This patch converts them to the proper direct calls, and removes the now unused pagefault notifier bits aswell as the cruft in kprobes.c that was related to this mess. I know Andi didn't really like this, but all other architecture maintainers agreed the direct calls are much better and besides the obvious cruft removal a common way of dealing with kprobes across architectures is important aswell. [[email protected]: build fix] [[email protected]: fix sparc64] Signed-off-by: Christoph Hellwig <[email protected]> Cc: Andi Kleen <[email protected]> Cc: <[email protected]> Cc: Prasanna S Panchamukhi <[email protected]> Cc: Ananth N Mavinakayanahalli <[email protected]> Cc: Anil S Keshavamurthy <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2007-05-21sh: revert addition of page fault notifiersChristoph Hellwig1-4/+0
Just at the time you added them on sh we're removing them from other architectures. As there's no user yet this patch just removes them completely. Once you actually have a kprobes patch it should follow the direct call to kprobes_fault_handler model that powerpc, s390 and sparc64 employ in 2.6.22-rc1 and that I'm updating other architectures to. Signed-off-by: Christoph Hellwig <[email protected]> Signed-off-by: Paul Mundt <[email protected]>
2007-05-09sh: Convert to common die chain.Paul Mundt1-23/+2
This went in immediately after SH added the die chain notifiers, so move over to that instead.. Signed-off-by: Paul Mundt <[email protected]>
2007-05-08move die notifier handling to common codeChristoph Hellwig1-0/+1
This patch moves the die notifier handling to common code. Previous various architectures had exactly the same code for it. Note that the new code is compiled unconditionally, this should be understood as an appel to the other architecture maintainer to implement support for it aswell (aka sprinkling a notify_die or two in the proper place) arm had a notifiy_die that did something totally different, I renamed it to arm_notify_die as part of the patch and made it static to the file it's declared and used at. avr32 used to pass slightly less information through this interface and I brought it into line with the other architectures. [[email protected]: build fix] [[email protected]: fix vmalloc_sync_all bustage] [[email protected]: fix vmalloc_sync_all in nommu] Signed-off-by: Christoph Hellwig <[email protected]> Cc: <[email protected]> Cc: Russell King <[email protected]> Signed-off-by: Bryan Wu <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2007-05-07sh: Add die chain notifiers.Paul Mundt1-0/+35
Add the atomic die chains in, kprobes needs these. Signed-off-by: Paul Mundt <[email protected]>