提交 2e285458 编写于 作者: C Chris Metcalf

tile: don't use __get_cpu_var() with structure-typed arguments

This no longer works with the new per-cpu infrastructure.
Signed-off-by: NChris Metcalf <cmetcalf@tilera.com>
上级 767f3021
无相关合并请求
......@@ -68,8 +68,8 @@ void hv_message_intr(struct pt_regs *regs, int intnum)
#endif
while (1) {
rmi = hv_receive_message(__get_cpu_var(msg_state),
(HV_VirtAddr) message,
HV_MsgState *state = this_cpu_ptr(&msg_state);
rmi = hv_receive_message(*state, (HV_VirtAddr) message,
sizeof(message));
if (rmi.msglen == 0)
break;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册
反馈
建议
客服 返回
顶部