Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 297067
b: refs/heads/master
c: 90b92a6
h: refs/heads/master
i:
  297065: 89542dc
  297063: d02e495
v: v3
  • Loading branch information
Scott Wood authored and Avi Kivity committed Mar 5, 2012
1 parent aefeb53 commit d88b6f2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 3bf3cdcc148abcd0e9d398393d390ff136d6eb9a
refs/heads/master: 90b92a6f51af9adf8c44e8ab3f435b336e5ba6ff
4 changes: 1 addition & 3 deletions trunk/arch/powerpc/kvm/e500_tlb.c
Original file line number Diff line number Diff line change
Expand Up @@ -116,13 +116,11 @@ static inline int local_sid_lookup(struct id *entry)
return -1;
}

/* Invalidate all id mappings on local core */
/* Invalidate all id mappings on local core -- call with preempt disabled */
static inline void local_sid_destroy_all(void)
{
preempt_disable();
__get_cpu_var(pcpu_last_used_sid) = 0;
memset(&__get_cpu_var(pcpu_sids), 0, sizeof(__get_cpu_var(pcpu_sids)));
preempt_enable();
}

static void *kvmppc_e500_id_table_alloc(struct kvmppc_vcpu_e500 *vcpu_e500)
Expand Down

0 comments on commit d88b6f2

Please sign in to comment.