patch-2.1.115 linux/arch/sparc/ap1000/timer.c

Next file: linux/arch/sparc/ap1000/tnet.c
Previous file: linux/arch/sparc/ap1000/msc.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.114/linux/arch/sparc/ap1000/timer.c linux/arch/sparc/ap1000/timer.c
@@ -7,7 +7,6 @@
   */
 /* routines to control the AP1000 timer chip */   
 
-#include <linux/config.h> /* for CONFIG_PROFILE */
 #include <linux/time.h>
 #include <linux/sched.h>
 #include <linux/interrupt.h>
@@ -74,8 +73,6 @@
 	last_freerun = new_freerun;
 }
 
-#ifdef CONFIG_PROFILE
-
 static void profile_interrupt(int irq, void *dev_id, struct pt_regs * regs)
 {
   if (prof_buffer && current->pid) {
@@ -98,8 +95,6 @@
   }
 }
 
-#endif
-
 void ap_init_timers(void)
 {
 	extern void timer_interrupt(int irq, void *dev_id, struct pt_regs * regs);
@@ -114,12 +109,10 @@
 		    (SA_INTERRUPT | SA_STATIC_ALLOC),
 		    "timer", NULL);
 
-#ifdef CONFIG_PROFILE	
 	request_irq(APTIM0_IRQ,
 		    profile_interrupt,
 		    (SA_INTERRUPT | SA_STATIC_ALLOC),
 		    "profile", NULL);
-#endif
 	
 	ap_clear_clock_irq();
 	

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov