aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2012-05-24 16:29:46 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2012-05-24 16:29:46 -0400
commitc7523a7c88db637d66841018532cb4b3ab6ab0a8 (patch)
treecec08263a493831d43e17d4daa633e2a6b09480e
parent2f78d8e249973f1eeb88315e6444e616c60177ae (diff)
parentb80fe1015be4e3c926d8eb4cc6a340fdd22a43e1 (diff)
Merge branch 'timers-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull timer updates from Thomas Gleixner. Various trivial conflict fixups in arch Kconfig due to addition of unrelated entries nearby. And one slightly more subtle one for sparc32 (new user of GENERIC_CLOCKEVENTS), fixed up as per Thomas. * 'timers-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: (31 commits) timekeeping: Fix a few minor newline issues. time: remove obsolete declaration ntp: Fix a stale comment and a few stray newlines. ntp: Correct TAI offset during leap second timers: Fixup the Kconfig consolidation fallout x86: Use generic time config unicore32: Use generic time config um: Use generic time config tile: Use generic time config sparc: Use: generic time config sh: Use generic time config score: Use generic time config s390: Use generic time config openrisc: Use generic time config powerpc: Use generic time config mn10300: Use generic time config mips: Use generic time config microblaze: Use generic time config m68k: Use generic time config m32r: Use generic time config ...
-rw-r--r--arch/alpha/Kconfig4
-rw-r--r--arch/arm/Kconfig20
-rw-r--r--arch/avr32/Kconfig6
-rw-r--r--arch/blackfin/Kconfig10
-rw-r--r--arch/c6x/Kconfig8
-rw-r--r--arch/cris/Kconfig7
-rw-r--r--arch/h8300/Kconfig.cpu2
-rw-r--r--arch/hexagon/Kconfig16
-rw-r--r--arch/ia64/Kconfig9
-rw-r--r--arch/m32r/Kconfig4
-rw-r--r--arch/m68k/Kconfig11
-rw-r--r--arch/microblaze/Kconfig9
-rw-r--r--arch/mips/Kconfig15
-rw-r--r--arch/mn10300/Kconfig8
-rw-r--r--arch/openrisc/Kconfig5
-rw-r--r--arch/powerpc/Kconfig13
-rw-r--r--arch/s390/Kconfig14
-rw-r--r--arch/score/Kconfig5
-rw-r--r--arch/sh/Kconfig14
-rw-r--r--arch/sparc/Kconfig12
-rw-r--r--arch/tile/Kconfig6
-rw-r--r--arch/um/Kconfig.common5
-rw-r--r--arch/um/Kconfig.um1
-rw-r--r--arch/unicore32/Kconfig5
-rw-r--r--arch/x86/Kconfig33
-rw-r--r--arch/x86/kernel/hpet.c66
-rw-r--r--include/linux/time.h1
-rw-r--r--init/Kconfig1
-rw-r--r--kernel/time/Kconfig58
-rw-r--r--kernel/time/ntp.c8
-rw-r--r--kernel/time/timekeeping.c4
31 files changed, 155 insertions, 225 deletions
diff --git a/arch/alpha/Kconfig b/arch/alpha/Kconfig
index 0893f023efb8..3de74c9f9610 100644
--- a/arch/alpha/Kconfig
+++ b/arch/alpha/Kconfig
@@ -16,6 +16,7 @@ config ALPHA
16 select ARCH_WANT_OPTIONAL_GPIOLIB 16 select ARCH_WANT_OPTIONAL_GPIOLIB
17 select ARCH_HAVE_NMI_SAFE_CMPXCHG 17 select ARCH_HAVE_NMI_SAFE_CMPXCHG
18 select GENERIC_SMP_IDLE_THREAD 18 select GENERIC_SMP_IDLE_THREAD
19 select GENERIC_CMOS_UPDATE
19 help 20 help
20 The Alpha is a 64-bit general-purpose processor designed and 21 The Alpha is a 64-bit general-purpose processor designed and
21 marketed by the Digital Equipment Corporation of blessed memory, 22 marketed by the Digital Equipment Corporation of blessed memory,
@@ -48,9 +49,6 @@ config GENERIC_CALIBRATE_DELAY
48 bool 49 bool
49 default y 50 default y
50 51
51config GENERIC_CMOS_UPDATE
52 def_bool y
53
54config GENERIC_GPIO 52config GENERIC_GPIO
55 bool 53 bool
56 54
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 4f4c8115d79b..312450941a1a 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -40,6 +40,8 @@ config ARM
40 select GENERIC_PCI_IOMAP 40 select GENERIC_PCI_IOMAP
41 select HAVE_BPF_JIT 41 select HAVE_BPF_JIT
42 select GENERIC_SMP_IDLE_THREAD 42 select GENERIC_SMP_IDLE_THREAD
43 select KTIME_SCALAR
44 select GENERIC_CLOCKEVENTS_BROADCAST if SMP
43 help 45 help
44 The ARM series is a line of low-power-consumption RISC chip designs 46 The ARM series is a line of low-power-consumption RISC chip designs
45 licensed by ARM Ltd and targeted at embedded applications and 47 licensed by ARM Ltd and targeted at embedded applications and
@@ -63,22 +65,6 @@ config SYS_SUPPORTS_APM_EMULATION
63config GENERIC_GPIO 65config GENERIC_GPIO
64 bool 66 bool
65 67
66config ARCH_USES_GETTIMEOFFSET
67 bool
68 default n
69
70config GENERIC_CLOCKEVENTS
71 bool
72
73config GENERIC_CLOCKEVENTS_BROADCAST
74 bool
75 depends on GENERIC_CLOCKEVENTS
76 default y if SMP
77
78config KTIME_SCALAR
79 bool
80 default y
81
82config HAVE_TCM 68config HAVE_TCM
83 bool 69 bool
84 select GENERIC_ALLOCATOR 70 select GENERIC_ALLOCATOR
@@ -1438,8 +1424,6 @@ endmenu
1438 1424
1439menu "Kernel Features" 1425menu "Kernel Features"
1440 1426
1441source "kernel/time/Kconfig"
1442
1443config HAVE_SMP 1427config HAVE_SMP
1444 bool 1428 bool
1445 help 1429 help
diff --git a/arch/avr32/Kconfig b/arch/avr32/Kconfig
index 3dea7231f637..f8bc2d27d148 100644
--- a/arch/avr32/Kconfig
+++ b/arch/avr32/Kconfig
@@ -12,6 +12,7 @@ config AVR32
12 select HARDIRQS_SW_RESEND 12 select HARDIRQS_SW_RESEND
13 select GENERIC_IRQ_SHOW 13 select GENERIC_IRQ_SHOW
14 select ARCH_HAVE_NMI_SAFE_CMPXCHG 14 select ARCH_HAVE_NMI_SAFE_CMPXCHG
15 select GENERIC_CLOCKEVENTS
15 help 16 help
16 AVR32 is a high-performance 32-bit RISC microprocessor core, 17 AVR32 is a high-performance 32-bit RISC microprocessor core,
17 designed for cost-sensitive embedded applications, with particular 18 designed for cost-sensitive embedded applications, with particular
@@ -35,9 +36,6 @@ config TRACE_IRQFLAGS_SUPPORT
35config RWSEM_GENERIC_SPINLOCK 36config RWSEM_GENERIC_SPINLOCK
36 def_bool y 37 def_bool y
37 38
38config GENERIC_CLOCKEVENTS
39 def_bool y
40
41config RWSEM_XCHGADD_ALGORITHM 39config RWSEM_XCHGADD_ALGORITHM
42 def_bool n 40 def_bool n
43 41
@@ -63,8 +61,6 @@ source "kernel/Kconfig.freezer"
63 61
64menu "System Type and features" 62menu "System Type and features"
65 63
66source "kernel/time/Kconfig"
67
68config SUBARCH_AVR32B 64config SUBARCH_AVR32B
69 bool 65 bool
70config MMU 66config MMU
diff --git a/arch/blackfin/Kconfig b/arch/blackfin/Kconfig
index 79cfe2614bcc..04ec0d8fbbb5 100644
--- a/arch/blackfin/Kconfig
+++ b/arch/blackfin/Kconfig
@@ -38,6 +38,7 @@ config BLACKFIN
38 select IRQ_PER_CPU if SMP 38 select IRQ_PER_CPU if SMP
39 select HAVE_NMI_WATCHDOG if NMI_WATCHDOG 39 select HAVE_NMI_WATCHDOG if NMI_WATCHDOG
40 select GENERIC_SMP_IDLE_THREAD 40 select GENERIC_SMP_IDLE_THREAD
41 select ARCH_USES_GETTIMEOFFSET if !GENERIC_CLOCKEVENTS
41 42
42config GENERIC_CSUM 43config GENERIC_CSUM
43 def_bool y 44 def_bool y
@@ -642,9 +643,10 @@ comment "Kernel Timer/Scheduler"
642 643
643source kernel/Kconfig.hz 644source kernel/Kconfig.hz
644 645
645config GENERIC_CLOCKEVENTS 646config SET_GENERIC_CLOCKEVENTS
646 bool "Generic clock events" 647 bool "Generic clock events"
647 default y 648 default y
649 select GENERIC_CLOCKEVENTS
648 650
649menu "Clock event device" 651menu "Clock event device"
650 depends on GENERIC_CLOCKEVENTS 652 depends on GENERIC_CLOCKEVENTS
@@ -678,12 +680,6 @@ config GPTMR0_CLOCKSOURCE
678 depends on !TICKSOURCE_GPTMR0 680 depends on !TICKSOURCE_GPTMR0
679endmenu 681endmenu
680 682
681config ARCH_USES_GETTIMEOFFSET
682 depends on !GENERIC_CLOCKEVENTS
683 def_bool y
684
685source kernel/time/Kconfig
686
687comment "Misc" 683comment "Misc"
688 684
689choice 685choice
diff --git a/arch/c6x/Kconfig b/arch/c6x/Kconfig
index 1f15b88b537f..052f81a76239 100644
--- a/arch/c6x/Kconfig
+++ b/arch/c6x/Kconfig
@@ -15,6 +15,7 @@ config C6X