summaryrefslogtreecommitdiffstats
path: root/arch/sparc/ap1000/timer.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>1998-08-25 09:12:35 +0000
committerRalf Baechle <ralf@linux-mips.org>1998-08-25 09:12:35 +0000
commitc7fc24dc4420057f103afe8fc64524ebc25c5d37 (patch)
tree3682407a599b8f9f03fc096298134cafba1c9b2f /arch/sparc/ap1000/timer.c
parent1d793fade8b063fde3cf275bf1a5c2d381292cd9 (diff)
o Merge with Linux 2.1.116.
o New Newport console code. o New G364 console code.
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();