aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/traps.c
diff options
context:
space:
mode:
authorAndy Fleming <afleming@freescale.com>2005-12-15 21:02:04 -0500
committerPaul Mackerras <paulus@samba.org>2006-01-08 23:06:03 -0500
commit555d97ac87aef08bb55dff6f05e68fe2987d6f6d (patch)
tree7016485d112af04b972dcc749e437a7131424252 /arch/powerpc/kernel/traps.c
parente5cd040409dc0f8d34a21827d6b74918b3a4fccf (diff)
[PATCH] powerpc: G4+ oprofile support
This patch adds oprofile support for the 7450 and all its multitudinous derivatives. * Added 7450 (and derivatives) support for oprofile * Changed e500 cputable to have oprofile model and cpu_type fields * Added support for classic 32-bit performance monitor interrupt * Cleaned up common powerpc oprofile code to be as common as possible * Cleaned up oprofile_impl.h to reflect 32 bit classic code * Added 32-bit MMCRx bitfield definitions and SPR numbers Signed-off-by: Andy Fleming <afleming@freescale.com> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/kernel/traps.c')
-rw-r--r--arch/powerpc/kernel/traps.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/powerpc/kernel/traps.c b/arch/powerpc/kernel/traps.c
index 76b579ca5230..6c793463d511 100644
--- a/arch/powerpc/kernel/traps.c
+++ b/arch/powerpc/kernel/traps.c
@@ -901,12 +901,10 @@ void altivec_unavailable_exception(struct pt_regs *regs)
901 die("Unrecoverable VMX/Altivec Unavailable Exception", regs, SIGABRT); 901 die("Unrecoverable VMX/Altivec Unavailable Exception", regs, SIGABRT);
902} 902}
903 903
904#if defined(CONFIG_PPC64) || defined(CONFIG_E500)
905void performance_monitor_exception(struct pt_regs *regs) 904void performance_monitor_exception(struct pt_regs *regs)
906{ 905{
907 perf_irq(regs); 906 perf_irq(regs);
908} 907}
909#endif
910 908
911#ifdef CONFIG_8xx 909#ifdef CONFIG_8xx
912void SoftwareEmulation(struct pt_regs *regs) 910void SoftwareEmulation(struct pt_regs *regs)