sparc32: Delete master_l10_limit.
authorDavid S. Miller <davem@davemloft.net>
Sun, 14 Sep 2008 05:48:04 +0000 (22:48 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 20 Sep 2008 04:18:03 +0000 (21:18 -0700)
It is only set, never used.

Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/include/asm/timer_32.h
arch/sparc/kernel/sun4c_irq.c
arch/sparc/kernel/sun4d_irq.c
arch/sparc/kernel/sun4m_irq.c
arch/sparc/kernel/time.c

index 351f257eec01fae93de82a2a7a2d42e9d27098cc..2ec030ef38102307911b405ce62e04c3e4470152 100644 (file)
@@ -12,7 +12,6 @@
 #include <asm/btfixup.h>
 
 extern __volatile__ unsigned int *master_l10_counter;
-extern __volatile__ unsigned int *master_l10_limit;
 
 /* FIXME: Make do_[gs]ettimeofday btfixup calls */
 BTFIXUPDEF_CALL(int, bus_do_settimeofday, struct timespec *tv)
index 92096ba31d58198729ddd1907954736d16adf9d8..5dc8a5769489206ba45e64b12e6d471bd7923526 100644 (file)
@@ -172,7 +172,6 @@ static void __init sun4c_init_timers(irq_handler_t counter_fn)
        sbus_writel((((1000000/HZ) + 1) << 10), &sun4c_timers->l10_limit);
 
        master_l10_counter = &sun4c_timers->l10_count;
-       master_l10_limit = &sun4c_timers->l10_limit;
 
        err = request_irq(irq[0].pri, counter_fn,
                          (IRQF_DISABLED | SA_STATIC_ALLOC),
index d376d380ac0a1aeba311176117b81298fdaf771e..d3cb76ce418bde420d5d7e397679091ba5cd5cf8 100644 (file)
@@ -526,7 +526,6 @@ static void __init sun4d_init_timers(irq_handler_t counter_fn)
        sbus_writel((((1000000/HZ) + 1) << 10), &sun4d_timers->l10_timer_limit);
 
        master_l10_counter = &sun4d_timers->l10_cur_count;
-       master_l10_limit = &sun4d_timers->l10_timer_limit;
 
        err = request_irq(TIMER_IRQ, counter_fn,
                          (IRQF_DISABLED | SA_STATIC_ALLOC),
index ab309eca09c3f77109533927c7d19c28d469e791..c09ec39d68ae6f6da061acba571db6a9bd5fa51b 100644 (file)
@@ -303,7 +303,6 @@ static void __init sun4m_init_timers(irq_handler_t counter_fn)
        sbus_writel((((1000000/HZ) + 1) << 10), &timers_global->l10_limit);
 
        master_l10_counter = &timers_global->l10_count;
-       master_l10_limit = &timers_global->l10_limit;
 
        err = request_irq(TIMER_IRQ, counter_fn,
                          (IRQF_DISABLED | SA_STATIC_ALLOC), "timer", NULL);
index fa54d585f558c3bcbe125d7c532a362263a2c50a..62c1d94cb4348e832c7b0d993823cc69707df5e2 100644 (file)
@@ -73,7 +73,6 @@ unsigned long profile_pc(struct pt_regs *regs)
 EXPORT_SYMBOL(profile_pc);
 
 __volatile__ unsigned int *master_l10_counter;
-__volatile__ unsigned int *master_l10_limit;
 
 /*
  * timer_interrupt() needs to keep up the real-time clock,