move die notifier handling to common code
authorChristoph Hellwig <hch@lst.de>
Tue, 8 May 2007 07:27:03 +0000 (00:27 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 8 May 2007 18:15:04 +0000 (11:15 -0700)
commit1eeb66a1bb973534dc3d064920a5ca683823372e
tree19c22d611e6adefb352dbc107b859e4d13ba38c1
parente3869792990f708c97be5877499cada70d469bd3
move die notifier handling to common code

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.

[akpm@linux-foundation.org: build fix]
[akpm@linux-foundation.org: fix vmalloc_sync_all bustage]
[bryan.wu@analog.com: fix vmalloc_sync_all in nommu]
Signed-off-by: Christoph Hellwig <hch@lst.de>
Cc: <linux-arch@vger.kernel.org>
Cc: Russell King <rmk@arm.linux.org.uk>
Signed-off-by: Bryan Wu <bryan.wu@analog.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
81 files changed:
arch/arm/kernel/traps.c
arch/arm/mm/fault.c
arch/avr32/kernel/kprobes.c
arch/avr32/kernel/ptrace.c
arch/avr32/kernel/traps.c
arch/avr32/mm/fault.c
arch/i386/kernel/crash.c
arch/i386/kernel/kprobes.c
arch/i386/kernel/nmi.c
arch/i386/kernel/traps.c
arch/i386/mm/fault.c
arch/i386/oprofile/nmi_int.c
arch/i386/oprofile/nmi_timer_int.c
arch/ia64/kernel/crash.c
arch/ia64/kernel/kprobes.c
arch/ia64/kernel/mca.c
arch/ia64/kernel/process.c
arch/ia64/kernel/traps.c
arch/ia64/mm/fault.c
arch/ia64/sn/kernel/xpc_main.c
arch/powerpc/kernel/kprobes.c
arch/powerpc/kernel/traps.c
arch/powerpc/mm/fault.c
arch/s390/kernel/kprobes.c
arch/s390/kernel/traps.c
arch/s390/mm/fault.c
arch/sparc/kernel/head.S
arch/sparc/kernel/setup.c
arch/sparc/kernel/traps.c
arch/sparc/mm/fault.c
arch/sparc/mm/srmmu.c
arch/sparc64/kernel/kprobes.c
arch/sparc64/kernel/traps.c
arch/sparc64/mm/fault.c
arch/x86_64/kernel/crash.c
arch/x86_64/kernel/kprobes.c
arch/x86_64/kernel/mce.c
arch/x86_64/kernel/nmi.c
arch/x86_64/kernel/pci-gart.c
arch/x86_64/kernel/process.c
arch/x86_64/kernel/reboot.c
arch/x86_64/kernel/smpboot.c
arch/x86_64/kernel/traps.c
arch/x86_64/mm/fault.c
drivers/char/ipmi/ipmi_watchdog.c
include/asm-alpha/kdebug.h [new file with mode: 0644]
include/asm-arm/kdebug.h [new file with mode: 0644]
include/asm-arm/system.h
include/asm-arm26/kdebug.h [new file with mode: 0644]
include/asm-avr32/kdebug.h
include/asm-cris/kdebug.h [new file with mode: 0644]
include/asm-frv/kdebug.h [new file with mode: 0644]
include/asm-generic/kdebug.h [new file with mode: 0644]
include/asm-h8300/kdebug.h [new file with mode: 0644]
include/asm-i386/kdebug.h
include/asm-i386/pgtable.h
include/asm-ia64/kdebug.h
include/asm-m32r/kdebug.h [new file with mode: 0644]
include/asm-m68k/kdebug.h [new file with mode: 0644]
include/asm-m68knommu/kdebug.h [new file with mode: 0644]
include/asm-mips/kdebug.h [new file with mode: 0644]
include/asm-parisc/kdebug.h [new file with mode: 0644]
include/asm-powerpc/kdebug.h
include/asm-ppc/kdebug.h [new file with mode: 0644]
include/asm-s390/kdebug.h
include/asm-sh/kdebug.h
include/asm-sh64/kdebug.h [new file with mode: 0644]
include/asm-sparc/kdebug.h
include/asm-sparc64/kdebug.h
include/asm-um/kdebug.h [new file with mode: 0644]
include/asm-v850/kdebug.h [new file with mode: 0644]
include/asm-x86_64/kdebug.h
include/asm-x86_64/pgtable.h
include/asm-xtensa/kdebug.h [new file with mode: 0644]
include/linux/kdebug.h [new file with mode: 0644]
include/linux/vmalloc.h
kernel/Makefile
kernel/die_notifier.c [new file with mode: 0644]
kernel/kprobes.c
mm/nommu.c
mm/vmalloc.c