Commit fc321495 authored by David S. Miller's avatar David S. Miller

[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: default avatarDavid S. Miller <davem@davemloft.net>
parent 62dbec78
...@@ -60,17 +60,6 @@ static void __iomem *mstk48t59_regs; ...@@ -60,17 +60,6 @@ static void __iomem *mstk48t59_regs;
static int set_rtc_mmss(unsigned long); 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) #define TICK_PRIV_BIT (1UL << 63)
#ifdef CONFIG_SMP #ifdef CONFIG_SMP
...@@ -200,6 +189,8 @@ static struct sparc64_tick_ops tick_operations __read_mostly = { ...@@ -200,6 +189,8 @@ static struct sparc64_tick_ops tick_operations __read_mostly = {
.softint_mask = 1UL << 0, .softint_mask = 1UL << 0,
}; };
struct sparc64_tick_ops *tick_ops __read_mostly = &tick_operations;
static void stick_init_tick(unsigned long offset) static void stick_init_tick(unsigned long offset)
{ {
tick_disable_protection(); tick_disable_protection();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment