Skip to content

Commit

Permalink
Merge branch 'timers-core-for-linus' of git://git.kernel.org/pub/scm/…
Browse files Browse the repository at this point in the history
…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
  ...
  • Loading branch information
torvalds committed May 24, 2012
2 parents 2f78d8e + b80fe10 commit c7523a7
Show file tree
Hide file tree
Showing 31 changed files with 155 additions and 225 deletions.
4 changes: 1 addition & 3 deletions arch/alpha/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ config ALPHA
select ARCH_WANT_OPTIONAL_GPIOLIB
select ARCH_HAVE_NMI_SAFE_CMPXCHG
select GENERIC_SMP_IDLE_THREAD
select GENERIC_CMOS_UPDATE
help
The Alpha is a 64-bit general-purpose processor designed and
marketed by the Digital Equipment Corporation of blessed memory,
Expand Down Expand Up @@ -48,9 +49,6 @@ config GENERIC_CALIBRATE_DELAY
bool
default y

config GENERIC_CMOS_UPDATE
def_bool y

config GENERIC_GPIO
bool

Expand Down
20 changes: 2 additions & 18 deletions arch/arm/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ config ARM
select GENERIC_PCI_IOMAP
select HAVE_BPF_JIT
select GENERIC_SMP_IDLE_THREAD
select KTIME_SCALAR
select GENERIC_CLOCKEVENTS_BROADCAST if SMP
help
The ARM series is a line of low-power-consumption RISC chip designs
licensed by ARM Ltd and targeted at embedded applications and
Expand All @@ -63,22 +65,6 @@ config SYS_SUPPORTS_APM_EMULATION
config GENERIC_GPIO
bool

config ARCH_USES_GETTIMEOFFSET
bool
default n

config GENERIC_CLOCKEVENTS
bool

config GENERIC_CLOCKEVENTS_BROADCAST
bool
depends on GENERIC_CLOCKEVENTS
default y if SMP

config KTIME_SCALAR
bool
default y

config HAVE_TCM
bool
select GENERIC_ALLOCATOR
Expand Down Expand Up @@ -1438,8 +1424,6 @@ endmenu

menu "Kernel Features"

source "kernel/time/Kconfig"

config HAVE_SMP
bool
help
Expand Down
6 changes: 1 addition & 5 deletions arch/avr32/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ config AVR32
select HARDIRQS_SW_RESEND
select GENERIC_IRQ_SHOW
select ARCH_HAVE_NMI_SAFE_CMPXCHG
select GENERIC_CLOCKEVENTS
help
AVR32 is a high-performance 32-bit RISC microprocessor core,
designed for cost-sensitive embedded applications, with particular
Expand All @@ -35,9 +36,6 @@ config TRACE_IRQFLAGS_SUPPORT
config RWSEM_GENERIC_SPINLOCK
def_bool y

config GENERIC_CLOCKEVENTS
def_bool y

config RWSEM_XCHGADD_ALGORITHM
def_bool n

Expand All @@ -63,8 +61,6 @@ source "kernel/Kconfig.freezer"

menu "System Type and features"

source "kernel/time/Kconfig"

config SUBARCH_AVR32B
bool
config MMU
Expand Down
10 changes: 3 additions & 7 deletions arch/blackfin/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ config BLACKFIN
select IRQ_PER_CPU if SMP
select HAVE_NMI_WATCHDOG if NMI_WATCHDOG
select GENERIC_SMP_IDLE_THREAD
select ARCH_USES_GETTIMEOFFSET if !GENERIC_CLOCKEVENTS

config GENERIC_CSUM
def_bool y
Expand Down Expand Up @@ -642,9 +643,10 @@ comment "Kernel Timer/Scheduler"

source kernel/Kconfig.hz

config GENERIC_CLOCKEVENTS
config SET_GENERIC_CLOCKEVENTS
bool "Generic clock events"
default y
select GENERIC_CLOCKEVENTS

menu "Clock event device"
depends on GENERIC_CLOCKEVENTS
Expand Down Expand Up @@ -678,12 +680,6 @@ config GPTMR0_CLOCKSOURCE
depends on !TICKSOURCE_GPTMR0
endmenu

config ARCH_USES_GETTIMEOFFSET
depends on !GENERIC_CLOCKEVENTS
def_bool y

source kernel/time/Kconfig

comment "Misc"

choice
Expand Down
8 changes: 1 addition & 7 deletions arch/c6x/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ config C6X
select IRQ_DOMAIN
select OF
select OF_EARLY_FLATTREE
select GENERIC_CLOCKEVENTS

config MMU
def_bool n
Expand All @@ -31,12 +32,6 @@ config GENERIC_CALIBRATE_DELAY
config GENERIC_HWEIGHT
def_bool y

config GENERIC_CLOCKEVENTS
def_bool y

config GENERIC_CLOCKEVENTS_BROADCAST
bool

config GENERIC_BUG
def_bool y

Expand Down Expand Up @@ -125,7 +120,6 @@ source "mm/Kconfig"
source "kernel/Kconfig.preempt"

source "kernel/Kconfig.hz"
source "kernel/time/Kconfig"

endmenu

Expand Down
7 changes: 1 addition & 6 deletions arch/cris/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,6 @@ config RWSEM_GENERIC_SPINLOCK
config RWSEM_XCHGADD_ALGORITHM
bool

config GENERIC_CMOS_UPDATE
def_bool y

config ARCH_USES_GETTIMEOFFSET
def_bool n

config ARCH_HAS_ILOG2_U32
bool
default n
Expand Down Expand Up @@ -50,6 +44,7 @@ config CRIS
select GENERIC_IRQ_SHOW
select GENERIC_IOMAP
select GENERIC_SMP_IDLE_THREAD if ETRAX_ARCH_V32
select GENERIC_CMOS_UPDATE

config HZ
int
Expand Down
2 changes: 0 additions & 2 deletions arch/h8300/Kconfig.cpu
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
menu "Processor type and features"

source "kernel/time/Kconfig"

choice
prompt "H8/300 platform"
default H8300H_GENERIC
Expand Down
16 changes: 3 additions & 13 deletions arch/hexagon/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ config HEXAGON
select GENERIC_IOMAP
select GENERIC_SMP_IDLE_THREAD
select STACKTRACE_SUPPORT
select KTIME_SCALAR
select GENERIC_CLOCKEVENTS
select GENERIC_CLOCKEVENTS_BROADCAST
---help---
Qualcomm Hexagon is a processor architecture designed for high
performance and low power across a wide variety of applications.
Expand Down Expand Up @@ -55,9 +58,6 @@ config PCI
config EARLY_PRINTK
def_bool y

config KTIME_SCALAR
def_bool y

config MMU
def_bool y

Expand Down Expand Up @@ -88,15 +88,6 @@ config GENERIC_FIND_NEXT_BIT
config GENERIC_HWEIGHT
def_bool y

config GENERIC_TIME
def_bool y

config GENERIC_CLOCKEVENTS
def_bool y

config GENERIC_CLOCKEVENTS_BROADCAST
def_bool y

config STACKTRACE_SUPPORT
def_bool y
select STACKTRACE
Expand Down Expand Up @@ -179,7 +170,6 @@ endchoice
source "mm/Kconfig"

source "kernel/Kconfig.hz"
source "kernel/time/Kconfig"

config GENERIC_GPIO
def_bool n
Expand Down
9 changes: 2 additions & 7 deletions arch/ia64/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ config IA64
select ARCH_INIT_TASK
select ARCH_TASK_STRUCT_ALLOCATOR
select ARCH_THREAD_INFO_ALLOCATOR
select ARCH_CLOCKSOURCE_DATA
select GENERIC_TIME_VSYSCALL
default y
help
The Itanium Processor Family is Intel's 64-bit successor to
Expand Down Expand Up @@ -92,10 +94,6 @@ config GENERIC_CALIBRATE_DELAY
bool
default y

config GENERIC_TIME_VSYSCALL
bool
default y

config HAVE_SETUP_PER_CPU_AREA
def_bool y

Expand All @@ -110,9 +108,6 @@ config EFI
bool
default y

config ARCH_CLOCKSOURCE_DATA
def_bool y

config SCHED_OMIT_FRAME_POINTER
bool
default y
Expand Down
4 changes: 1 addition & 3 deletions arch/m32r/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ config M32R
select GENERIC_IRQ_PROBE
select GENERIC_IRQ_SHOW
select GENERIC_ATOMIC64
select ARCH_USES_GETTIMEOFFSET

config SBUS
bool
Expand All @@ -33,9 +34,6 @@ config HZ
int
default 100

config ARCH_USES_GETTIMEOFFSET
def_bool y

source "init/Kconfig"

source "kernel/Kconfig.freezer"
Expand Down
11 changes: 1 addition & 10 deletions arch/m68k/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ config M68K
select ARCH_HAVE_NMI_SAFE_CMPXCHG if RMW_INSNS
select GENERIC_CPU_DEVICES
select FPU if MMU
select ARCH_USES_GETTIMEOFFSET if MMU && !COLDFIRE

config RWSEM_GENERIC_SPINLOCK
bool
Expand All @@ -22,9 +23,6 @@ config ARCH_HAS_ILOG2_U32
config ARCH_HAS_ILOG2_U64
bool

config GENERIC_CLOCKEVENTS
bool

config GENERIC_GPIO
bool

Expand All @@ -43,9 +41,6 @@ config TIME_LOW_RES
bool
default y

config ARCH_USES_GETTIMEOFFSET
def_bool MMU && !COLDFIRE

config NO_IOPORT
def_bool y

Expand Down Expand Up @@ -111,10 +106,6 @@ if COLDFIRE
source "kernel/Kconfig.preempt"
endif

if !MMU || COLDFIRE
source "kernel/time/Kconfig"
endif

source "mm/Kconfig"

endmenu
Expand Down
9 changes: 1 addition & 8 deletions arch/microblaze/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ config MICROBLAZE
select GENERIC_PCI_IOMAP
select GENERIC_CPU_DEVICES
select GENERIC_ATOMIC64
select GENERIC_CLOCKEVENTS

config SWAP
def_bool n
Expand Down Expand Up @@ -50,12 +51,6 @@ config GENERIC_HWEIGHT
config GENERIC_CALIBRATE_DELAY
def_bool y

config GENERIC_TIME_VSYSCALL
def_bool n

config GENERIC_CLOCKEVENTS
def_bool y

config GENERIC_GPIO
def_bool y

Expand All @@ -79,8 +74,6 @@ source "arch/microblaze/platform/Kconfig.platform"

menu "Processor type and features"

source "kernel/time/Kconfig"

source "kernel/Kconfig.preempt"

source "kernel/Kconfig.hz"
Expand Down
15 changes: 2 additions & 13 deletions arch/mips/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ config MIPS
select ARCH_DISCARD_MEMBLOCK
select GENERIC_SMP_IDLE_THREAD
select BUILDTIME_EXTABLE_SORT
select GENERIC_CLOCKEVENTS
select GENERIC_CMOS_UPDATE

menu "Machine selection"

Expand Down Expand Up @@ -858,14 +860,6 @@ config GENERIC_CALIBRATE_DELAY
bool
default y

config GENERIC_CLOCKEVENTS
bool
default y

config GENERIC_CMOS_UPDATE
bool
default y

config SCHED_OMIT_FRAME_POINTER
bool
default y
Expand Down Expand Up @@ -2052,9 +2046,6 @@ config CPU_HAS_SYNC
depends on !CPU_R3000
default y

config GENERIC_CLOCKEVENTS_BROADCAST
bool

#
# CPU non-features
#
Expand Down Expand Up @@ -2216,8 +2207,6 @@ config NR_CPUS
performance should round up your number of processors to the next
power of two.

source "kernel/time/Kconfig"

#
# Timer Interrupt Frequency Configuration
#
Expand Down
Loading

0 comments on commit c7523a7

Please sign in to comment.