diff options
author | Paul Mackerras <paulus@samba.org> | 2005-11-06 22:42:09 -0500 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2005-11-06 22:42:09 -0500 |
commit | c6135234550ed89a6fd0e8cb229633967e41d649 (patch) | |
tree | 22cef33e314839c4fb30d6fc888c0caa2a0f6602 /arch/powerpc/kernel/process.c | |
parent | 76032de898f34db55b5048349db56557828a1390 (diff) | |
parent | 0b154bb7d0cce80e9c0bcf11d4f9e71b59409d26 (diff) |
Merge ../linux-2.6
Diffstat (limited to 'arch/powerpc/kernel/process.c')
-rw-r--r-- | arch/powerpc/kernel/process.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/arch/powerpc/kernel/process.c b/arch/powerpc/kernel/process.c index 29f6e875cf1c..de69fb37c731 100644 --- a/arch/powerpc/kernel/process.c +++ b/arch/powerpc/kernel/process.c | |||
@@ -552,12 +552,10 @@ int copy_thread(int nr, unsigned long clone_flags, unsigned long usp, | |||
552 | #ifdef CONFIG_PPC64 | 552 | #ifdef CONFIG_PPC64 |
553 | if (cpu_has_feature(CPU_FTR_SLB)) { | 553 | if (cpu_has_feature(CPU_FTR_SLB)) { |
554 | unsigned long sp_vsid = get_kernel_vsid(sp); | 554 | unsigned long sp_vsid = get_kernel_vsid(sp); |
555 | unsigned long llp = mmu_psize_defs[mmu_linear_psize].sllp; | ||
555 | 556 | ||
556 | sp_vsid <<= SLB_VSID_SHIFT; | 557 | sp_vsid <<= SLB_VSID_SHIFT; |
557 | sp_vsid |= SLB_VSID_KERNEL; | 558 | sp_vsid |= SLB_VSID_KERNEL | llp; |
558 | if (cpu_has_feature(CPU_FTR_16M_PAGE)) | ||
559 | sp_vsid |= SLB_VSID_L; | ||
560 | |||
561 | p->thread.ksp_vsid = sp_vsid; | 559 | p->thread.ksp_vsid = sp_vsid; |
562 | } | 560 | } |
563 | 561 | ||