Bläddra i källkod

sh: Kill off mv_heartbeat() from the machvec.

Nothing is using this any more, so get rid of it before anyone gets the
bright idea to start using it again.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Paul Mundt 16 år sedan
förälder
incheckning
7b80fb32b3
3 ändrade filer med 0 tillägg och 12 borttagningar
  1. 0 2
      arch/sh/include/asm/machvec.h
  2. 0 5
      arch/sh/kernel/time_32.c
  3. 0 5
      arch/sh/kernel/time_64.c

+ 0 - 2
arch/sh/include/asm/machvec.h

@@ -47,8 +47,6 @@ struct sh_machine_vector {
 	void (*mv_init_irq)(void);
 	void (*mv_init_irq)(void);
 	void (*mv_init_pci)(void);
 	void (*mv_init_pci)(void);
 
 
-	void (*mv_heartbeat)(void);
-
 	void __iomem *(*mv_ioport_map)(unsigned long port, unsigned int size);
 	void __iomem *(*mv_ioport_map)(unsigned long port, unsigned int size);
 	void (*mv_ioport_unmap)(void __iomem *);
 	void (*mv_ioport_unmap)(void __iomem *);
 };
 };

+ 0 - 5
arch/sh/kernel/time_32.c

@@ -125,11 +125,6 @@ void handle_timer_tick(void)
 	if (current->pid)
 	if (current->pid)
 		profile_tick(CPU_PROFILING);
 		profile_tick(CPU_PROFILING);
 
 
-#ifdef CONFIG_HEARTBEAT
-	if (sh_mv.mv_heartbeat != NULL)
-		sh_mv.mv_heartbeat();
-#endif
-
 	/*
 	/*
 	 * Here we are in the timer irq handler. We just have irqs locally
 	 * Here we are in the timer irq handler. We just have irqs locally
 	 * disabled but we don't know if the timer_bh is running on the other
 	 * disabled but we don't know if the timer_bh is running on the other

+ 0 - 5
arch/sh/kernel/time_64.c

@@ -240,11 +240,6 @@ static inline void do_timer_interrupt(void)
 
 
 	do_timer(1);
 	do_timer(1);
 
 
-#ifdef CONFIG_HEARTBEAT
-	if (sh_mv.mv_heartbeat != NULL)
-		sh_mv.mv_heartbeat();
-#endif
-
 	/*
 	/*
 	 * If we have an externally synchronized Linux clock, then update
 	 * If we have an externally synchronized Linux clock, then update
 	 * RTC clock accordingly every ~11 minutes. Set_rtc_mmss() has to be
 	 * RTC clock accordingly every ~11 minutes. Set_rtc_mmss() has to be