提交 1c2f61d4 编写于 作者: D David S. Miller

sparc64: Don't hook up pcr_ops on spitfire chips.

They can't be used for profiling and NMI watchdog currently
since they lack the counter overflow interrupt.
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 dc4ff585
......@@ -133,11 +133,16 @@ int __init pcr_arch_init(void)
case cheetah:
case cheetah_plus:
case spitfire:
pcr_ops = &direct_pcr_ops;
pcr_enable = PCR_SUN4U_ENABLE;
break;
case spitfire:
/* UltraSPARC-I/II and derivatives lack a profile
* counter overflow interrupt so we can't make use of
* their hardware currently.
*/
/* fallthrough */
default:
err = -ENODEV;
goto out_unregister;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册