git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Revert to Fedora kernel-2.6.17-1.2187_FC5 patched with vs2.0.2.1; there are too many...
[linux-2.6.git]
/
arch
/
powerpc
/
mm
/
mmu_context_64.c
diff --git
a/arch/powerpc/mm/mmu_context_64.c
b/arch/powerpc/mm/mmu_context_64.c
index
90a06ac
..
714a84d
100644
(file)
--- a/
arch/powerpc/mm/mmu_context_64.c
+++ b/
arch/powerpc/mm/mmu_context_64.c
@@
-10,6
+10,7
@@
*
*/
*
*/
+#include <linux/config.h>
#include <linux/sched.h>
#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/sched.h>
#include <linux/kernel.h>
#include <linux/errno.h>
@@
-43,16
+44,11
@@
again:
return err;
if (index > MAX_CONTEXT) {
return err;
if (index > MAX_CONTEXT) {
- spin_lock(&mmu_context_lock);
idr_remove(&mmu_context_idr, index);
idr_remove(&mmu_context_idr, index);
- spin_unlock(&mmu_context_lock);
return -ENOMEM;
}
mm->context.id = index;
return -ENOMEM;
}
mm->context.id = index;
- mm->context.user_psize = mmu_virtual_psize;
- mm->context.sllp = SLB_VSID_USER |
- mmu_psize_defs[mmu_virtual_psize].sllp;
return 0;
}
return 0;
}