aboutsummaryrefslogtreecommitdiffstats
path: root/arch/blackfin/mach-common/interrupt.S
diff options
context:
space:
mode:
authorGraf Yang <graf.yang@analog.com>2009-01-07 10:14:39 -0500
committerBryan Wu <cooloney@kernel.org>2009-01-07 10:14:39 -0500
commit172e65e778ad500da26d59965750966e1ac7be51 (patch)
treecebbc5a924d190f69576657b1f5228087a1e7bea /arch/blackfin/mach-common/interrupt.S
parente32f55d9dbffd2ca16e0bb4ea7156b56741b78cd (diff)
Blackfin arch: remove hardware PM code, oprofile not use it
Signed-off-by: Graf Yang <graf.yang@analog.com> Signed-off-by: Bryan Wu <cooloney@kernel.org>
Diffstat (limited to 'arch/blackfin/mach-common/interrupt.S')
-rw-r--r--arch/blackfin/mach-common/interrupt.S22
1 files changed, 0 insertions, 22 deletions
diff --git a/arch/blackfin/mach-common/interrupt.S b/arch/blackfin/mach-common/interrupt.S
index c1bdd1edc8eb..473df0f7fa78 100644
--- a/arch/blackfin/mach-common/interrupt.S
+++ b/arch/blackfin/mach-common/interrupt.S
@@ -165,16 +165,6 @@ ENTRY(_evt_ivhw)
165 r0 = [p2]; 165 r0 = [p2];
166 [sp + PT_IPEND] = r0; 166 [sp + PT_IPEND] = r0;
167 167
168#ifdef CONFIG_HARDWARE_PM
169 r7 = [sp + PT_SEQSTAT];
170 r7 = r7 >>> 0xe;
171 r6 = 0x1F;
172 r7 = r7 & r6;
173 r5 = 0x12;
174 cc = r7 == r5;
175 if cc jump .Lcall_do_ovf; /* deal with performance counter overflow */
176#endif
177
178 /* set the EXCAUSE to HWERR for trap_c */ 168 /* set the EXCAUSE to HWERR for trap_c */
179 r0 = [sp + PT_SEQSTAT]; 169 r0 = [sp + PT_SEQSTAT];
180 R1.L = LO(VEC_HWERR); 170 R1.L = LO(VEC_HWERR);
@@ -200,18 +190,6 @@ ENTRY(_evt_ivhw)
200.Lcommon_restore_all_sys: 190.Lcommon_restore_all_sys:
201 RESTORE_ALL_SYS 191 RESTORE_ALL_SYS
202 rti; 192 rti;
203
204#ifdef CONFIG_HARDWARE_PM
205.Lcall_do_ovf:
206
207 R0 = SP;
208 SP += -12;
209 call _pm_overflow;
210 SP += 12;
211
212 jump .Lcommon_restore_all_sys;
213#endif
214
215ENDPROC(_evt_ivhw) 193ENDPROC(_evt_ivhw)
216 194
217/* Interrupt routine for evt2 (NMI). 195/* Interrupt routine for evt2 (NMI).