Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 322628
b: refs/heads/master
c: ae3790b
h: refs/heads/master
v: v3
  • Loading branch information
Will Deacon authored and Russell King committed Aug 25, 2012
1 parent 68312e7 commit dda0383
Show file tree
Hide file tree
Showing 2 changed files with 5 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: dbece45894d3ab1baac15a96dc4e1e8e23f64a93
refs/heads/master: ae3790b8a916429be5fa61da95992929e6b34d64
7 changes: 4 additions & 3 deletions trunk/arch/arm/mm/context.c
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,11 @@ static int contextidr_notifier(struct notifier_block *unused, unsigned long cmd,
pid = task_pid_nr(thread->task) << ASID_BITS;
asm volatile(
" mrc p15, 0, %0, c13, c0, 1\n"
" bfi %1, %0, #0, %2\n"
" mcr p15, 0, %1, c13, c0, 1\n"
" and %0, %0, %2\n"
" orr %0, %0, %1\n"
" mcr p15, 0, %0, c13, c0, 1\n"
: "=r" (contextidr), "+r" (pid)
: "I" (ASID_BITS));
: "I" (~ASID_MASK));
isb();

return NOTIFY_OK;
Expand Down

0 comments on commit dda0383

Please sign in to comment.