aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc/Kconfig
diff options
context:
space:
mode:
authorAnna-Maria Gleixner <anna-maria@glx-um.de>2012-05-18 12:45:54 -0400
committerThomas Gleixner <tglx@linutronix.de>2012-05-21 05:01:44 -0400
commitded1cc5cfc3b4bc007fe3bb8fbfd9e66d8d667d7 (patch)
tree00402d6595d7c4eeff7c018e4ad3e8925c13dc31 /arch/sparc/Kconfig
parent8cf200d8d01e71e8708a883a9cd0439cda6c2432 (diff)
sparc: Use: generic time config
Signed-off-by: Anna-Maria Gleixner <anna-maria@glx-um.de> Cc: David S. Miller <davem@davemloft.net> Link: http://lkml.kernel.org/r/20120518163106.987564297@glx-um.de Acked-by: Sam Ravnborg <sam@ravnborg.org> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/sparc/Kconfig')
-rw-r--r--arch/sparc/Kconfig15
1 files changed, 3 insertions, 12 deletions
diff --git a/arch/sparc/Kconfig b/arch/sparc/Kconfig
index 6c0683d3fcba..33399d3d90bc 100644
--- a/arch/sparc/Kconfig
+++ b/arch/sparc/Kconfig
@@ -30,11 +30,13 @@ config SPARC
30 select USE_GENERIC_SMP_HELPERS if SMP 30 select USE_GENERIC_SMP_HELPERS if SMP
31 select GENERIC_PCI_IOMAP 31 select GENERIC_PCI_IOMAP
32 select HAVE_NMI_WATCHDOG if SPARC64 32 select HAVE_NMI_WATCHDOG if SPARC64
33 select GENERIC_CMOS_UPDATE
33 34
34config SPARC32 35config SPARC32
35 def_bool !64BIT 36 def_bool !64BIT
36 select GENERIC_ATOMIC64 37 select GENERIC_ATOMIC64
37 select CLZ_TAB 38 select CLZ_TAB
39 select ARCH_USES_GETTIMEOFFSET
38 40
39config SPARC64 41config SPARC64
40 def_bool 64BIT 42 def_bool 64BIT
@@ -61,6 +63,7 @@ config SPARC64
61 select IRQ_PREFLOW_FASTEOI 63 select IRQ_PREFLOW_FASTEOI
62 select ARCH_HAVE_NMI_SAFE_CMPXCHG 64 select ARCH_HAVE_NMI_SAFE_CMPXCHG
63 select HAVE_C_RECORDMCOUNT 65 select HAVE_C_RECORDMCOUNT
66 select GENERIC_CLOCKEVENTS
64 67
65config ARCH_DEFCONFIG 68config ARCH_DEFCONFIG
66 string 69 string
@@ -73,18 +76,6 @@ config BITS
73 default 32 if SPARC32 76 default 32 if SPARC32
74 default 64 if SPARC64 77 default 64 if SPARC64
75 78
76config ARCH_USES_GETTIMEOFFSET
77 bool
78 default y if SPARC32
79
80config GENERIC_CMOS_UPDATE
81 bool
82 default y
83
84config GENERIC_CLOCKEVENTS
85 bool
86 default y if SPARC64
87
88config IOMMU_HELPER 79config IOMMU_HELPER
89 bool 80 bool
90 default y if SPARC64 81 default y if SPARC64