Loading arch/sparc64/kernel/time.c +16 −10 Original line number Diff line number Diff line Loading @@ -193,6 +193,11 @@ struct sparc64_tick_ops *tick_ops __read_mostly = &tick_operations; static void stick_init_tick(unsigned long offset) { /* Writes to the %tick and %stick register are not * allowed on sun4v. The Hypervisor controls that * bit, per-strand. */ if (tlb_type != hypervisor) { tick_disable_protection(); /* Let the user get at STICK too. */ Loading @@ -203,6 +208,7 @@ static void stick_init_tick(unsigned long offset) : /* no outputs */ : "r" (TICK_PRIV_BIT) : "g1", "g2"); } __asm__ __volatile__( " rd %%asr24, %%g1\n" Loading Loading
arch/sparc64/kernel/time.c +16 −10 Original line number Diff line number Diff line Loading @@ -193,6 +193,11 @@ struct sparc64_tick_ops *tick_ops __read_mostly = &tick_operations; static void stick_init_tick(unsigned long offset) { /* Writes to the %tick and %stick register are not * allowed on sun4v. The Hypervisor controls that * bit, per-strand. */ if (tlb_type != hypervisor) { tick_disable_protection(); /* Let the user get at STICK too. */ Loading @@ -203,6 +208,7 @@ static void stick_init_tick(unsigned long offset) : /* no outputs */ : "r" (TICK_PRIV_BIT) : "g1", "g2"); } __asm__ __volatile__( " rd %%asr24, %%g1\n" Loading