projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
767f302
)
tile: don't use __get_cpu_var() with structure-typed arguments
author
Chris Metcalf
<cmetcalf@tilera.com>
Thu, 6 Mar 2014 20:31:59 +0000
(15:31 -0500)
committer
Chris Metcalf
<cmetcalf@tilera.com>
Thu, 6 Mar 2014 20:31:59 +0000
(15:31 -0500)
This no longer works with the new per-cpu infrastructure.
Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
arch/tile/kernel/messaging.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/tile/kernel/messaging.c
b/arch/tile/kernel/messaging.c
index 00331af9525dcf52c990f3ee30abb13d367d7889..7867266f97169a5dd87fb09508e6833a94ef5b74 100644
(file)
--- a/
arch/tile/kernel/messaging.c
+++ b/
arch/tile/kernel/messaging.c
@@
-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;