summaryrefslogtreecommitdiffstats
path: root/arch/sparc/ap1000/timer.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sparc/ap1000/timer.c')
-rw-r--r--arch/sparc/ap1000/timer.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/arch/sparc/ap1000/timer.c b/arch/sparc/ap1000/timer.c
index 129b4e6d5..567d24067 100644
--- a/arch/sparc/ap1000/timer.c
+++ b/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 @@ void ap_gettimeofday(struct timeval *xt)
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 @@ void ap_profile_init(void)
}
}
-#endif
-
void ap_init_timers(void)
{
extern void timer_interrupt(int irq, void *dev_id, struct pt_regs * regs);
@@ -114,12 +109,10 @@ void ap_init_timers(void)
(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();