summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2005-11-07 14:10:10 -0800
committerDavid S. Miller <davem@davemloft.net>2005-11-07 14:10:10 -0800
commitfc3214952fac07fef7e102fdd4a18b3d736f33f1 (patch)
treedfdb6ada3bfb930ebd805ef7466e297544dd538e /arch
parent62dbec78be652c28f63ad5eda3d01c244c916040 (diff)
downloadlinux-fc3214952fac07fef7e102fdd4a18b3d736f33f1.tar.gz
linux-fc3214952fac07fef7e102fdd4a18b3d736f33f1.tar.bz2
linux-fc3214952fac07fef7e102fdd4a18b3d736f33f1.zip
[SPARC64]: Kill off dummy_tick_ops.
It only serves to generate false-positive buildcheck warnings. Just set it initially to tick_operations which uses the v9 %tick register which every sparc64 processor has. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch')
-rw-r--r--arch/sparc64/kernel/time.c13
1 files changed, 2 insertions, 11 deletions
diff --git a/arch/sparc64/kernel/time.c b/arch/sparc64/kernel/time.c
index 38c5525087a2..459c8fbe02b4 100644
--- a/arch/sparc64/kernel/time.c
+++ b/arch/sparc64/kernel/time.c
@@ -60,17 +60,6 @@ static void __iomem *mstk48t59_regs;
static int set_rtc_mmss(unsigned long);
-static __init unsigned long dummy_get_tick(void)
-{
- return 0;
-}
-
-static __initdata struct sparc64_tick_ops dummy_tick_ops = {
- .get_tick = dummy_get_tick,
-};
-
-struct sparc64_tick_ops *tick_ops __read_mostly = &dummy_tick_ops;
-
#define TICK_PRIV_BIT (1UL << 63)
#ifdef CONFIG_SMP
@@ -200,6 +189,8 @@ static struct sparc64_tick_ops tick_operations __read_mostly = {
.softint_mask = 1UL << 0,
};
+struct sparc64_tick_ops *tick_ops __read_mostly = &tick_operations;
+
static void stick_init_tick(unsigned long offset)
{
tick_disable_protection();