Commit 91ed9e8a authored by Alexander Graf's avatar Alexander Graf Committed by Linus Torvalds

KVM: PPC: E500: Compile fix in this_cpu_write

Commit 69111bac ("powerpc: Replace __get_cpu_var uses") introduced
compile breakage to the e500 target by introducing invalid automatically
created C syntax.

Fix up the breakage and make the code compile again.
Signed-off-by: default avatarAlexander Graf <agraf@suse.de>
Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent c297abfd
...@@ -78,7 +78,7 @@ static inline int local_sid_setup_one(struct id *entry) ...@@ -78,7 +78,7 @@ static inline int local_sid_setup_one(struct id *entry)
sid = __this_cpu_inc_return(pcpu_last_used_sid); sid = __this_cpu_inc_return(pcpu_last_used_sid);
if (sid < NUM_TIDS) { if (sid < NUM_TIDS) {
__this_cpu_write(pcpu_sids)entry[sid], entry); __this_cpu_write(pcpu_sids.entry[sid], entry);
entry->val = sid; entry->val = sid;
entry->pentry = this_cpu_ptr(&pcpu_sids.entry[sid]); entry->pentry = this_cpu_ptr(&pcpu_sids.entry[sid]);
ret = sid; ret = sid;
......
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