]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
Merge branch 'timers-clocksource-for-linus' of git://git.kernel.org/pub/scm/linux...
authorLinus Torvalds <torvalds@linux-foundation.org>
Sat, 23 Jul 2011 17:34:47 +0000 (10:34 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 23 Jul 2011 17:34:47 +0000 (10:34 -0700)
* 'timers-clocksource-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
  clocksource: apb: Share APB timer code with other platforms

1  2 
arch/x86/Kconfig
arch/x86/include/asm/apb_timer.h
arch/x86/kernel/apb_timer.c
drivers/clocksource/Kconfig
drivers/clocksource/Makefile

Simple merge
Simple merge
index 2b6630d75e17fa00a9881e99a3892439b412808f,033d3ecc5744b6c5750e327c024edc9e4431180d..afdc3f756dea0d0a1e4f460e1c3fad7eb782577b
  #include <asm/fixmap.h>
  #include <asm/apb_timer.h>
  #include <asm/mrst.h>
 +#include <asm/time.h>
  
- #define APBT_MASK                     CLOCKSOURCE_MASK(32)
- #define APBT_SHIFT                    22
  #define APBT_CLOCKEVENT_RATING                110
  #define APBT_CLOCKSOURCE_RATING               250
- #define APBT_MIN_DELTA_USEC           200
  
- #define EVT_TO_APBT_DEV(evt) container_of(evt, struct apbt_dev, evt)
  #define APBT_CLOCKEVENT0_NUM   (0)
- #define APBT_CLOCKEVENT1_NUM   (1)
  #define APBT_CLOCKSOURCE_NUM   (2)
  
- static unsigned long apbt_address;
+ static phys_addr_t apbt_address;
  static int apb_timer_block_enabled;
  static void __iomem *apbt_virt_address;
- static int phy_cs_timer_id;
  
  /*
   * Common DW APB timer info
index d8d3e02b912cabab39b1499436705e586f37f2ac,141417fcce3002c74f4e2cdfd40d7b0516da4c2c..34e9c4f88926c0dba00bbef5bf1c0c56b569996d
@@@ -1,14 -1,8 +1,17 @@@
  config CLKSRC_I8253
        bool
  
 +config CLKEVT_I8253
 +      bool
 +
 +config I8253_LOCK
 +      bool
 +
 +config CLKBLD_I8253
 +      def_bool y if CLKSRC_I8253 || CLKEVT_I8253 || I8253_LOCK
 +
  config CLKSRC_MMIO
        bool
+ config DW_APB_TIMER
+       bool
index 7922a0cfc99f400b5bcc184c2133e3ce90bddd0f,4c3d8fda136a0ab3603055d6284ce7eb6d9233ec..85ad1646a7b7b41b36ec8fc8d707342d9a05542c
@@@ -6,5 -6,6 +6,6 @@@ obj-$(CONFIG_CS5535_CLOCK_EVENT_SRC)     +
  obj-$(CONFIG_SH_TIMER_CMT)    += sh_cmt.o
  obj-$(CONFIG_SH_TIMER_MTU2)   += sh_mtu2.o
  obj-$(CONFIG_SH_TIMER_TMU)    += sh_tmu.o
 -obj-$(CONFIG_CLKSRC_I8253)    += i8253.o
 +obj-$(CONFIG_CLKBLD_I8253)    += i8253.o
  obj-$(CONFIG_CLKSRC_MMIO)     += mmio.o
+ obj-$(CONFIG_DW_APB_TIMER)    += dw_apb_timer.o