Merge branch 'renesas/timer' into next/timer
authorArnd Bergmann <arnd@arndb.de>
Mon, 19 Mar 2012 20:46:32 +0000 (20:46 +0000)
committerArnd Bergmann <arnd@arndb.de>
Tue, 20 Mar 2012 09:41:43 +0000 (09:41 +0000)
Conflicts:
arch/arm/mach-shmobile/timer.c

This resolves a nonobvious merge conflict between renesas
timer changes in the global timer changes with those
from the renesas soc branch and last minute bug fixes that
went into v3.3.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
1  2 
arch/arm/kernel/smp_twd.c
arch/arm/mach-shmobile/include/mach/common.h
arch/arm/mach-shmobile/smp-sh73a0.c
arch/arm/mach-shmobile/timer.c

Simple merge
@@@ -1,9 -1,8 +1,10 @@@
  #ifndef __ARCH_MACH_COMMON_H
  #define __ARCH_MACH_COMMON_H
  
+ extern void shmobile_earlytimer_init(void);
  extern struct sys_timer shmobile_timer;
 +struct twd_local_timer;
 +void shmobile_twd_init(struct twd_local_timer *twd_local_timer);
  extern void shmobile_setup_console(void);
  extern void shmobile_secondary_vector(void);
  extern int shmobile_platform_cpu_kill(unsigned int cpu);
Simple merge
@@@ -42,15 -41,10 +42,19 @@@ void __init shmobile_earlytimer_init(vo
        late_time_init = shmobile_late_time_init;
  }
  
+ static void __init shmobile_timer_init(void)
+ {
+ }
 +void __init shmobile_twd_init(struct twd_local_timer *twd_local_timer)
 +{
 +#ifdef CONFIG_HAVE_ARM_TWD
 +      int err = twd_local_timer_register(twd_local_timer);
 +      if (err)
 +              pr_err("twd_local_timer_register failed %d\n", err);
 +#endif
 +}
 +
  struct sys_timer shmobile_timer = {
        .init           = shmobile_timer_init,
  };