summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/mm/slice.c
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2007-08-15 08:33:55 +0200
committerPaul Mackerras <paulus@samba.org>2007-08-17 03:01:58 +0200
commit9dfe5c53d0fcc08e9efc1e13bb6702fac74f4a12 (patch)
treedf65e57c6e3748ae26fdedc49b7423d612ba0933 /arch/powerpc/mm/slice.c
parent[POWERPC] Update lmb.h include protection to ASM_POWERPC (diff)
downloadlinux-9dfe5c53d0fcc08e9efc1e13bb6702fac74f4a12.tar.xz
linux-9dfe5c53d0fcc08e9efc1e13bb6702fac74f4a12.zip
[POWERPC] Fix non HUGETLB_PAGE build warning
arch/powerpc/mm/mmu_context_64.c: In function 'init_new_context': arch/powerpc/mm/mmu_context_64.c:31: warning: unused variable 'new_context' Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/mm/slice.c')
-rw-r--r--arch/powerpc/mm/slice.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/mm/slice.c b/arch/powerpc/mm/slice.c
index d5fd3909d13a..319826ef1645 100644
--- a/arch/powerpc/mm/slice.c
+++ b/arch/powerpc/mm/slice.c
@@ -551,6 +551,7 @@ EXPORT_SYMBOL_GPL(get_slice_psize);
*
* This is also called in init_new_context() to change back the user
* psize from whatever the parent context had it set to
+ * N.B. This may be called before mm->context.id has been set.
*
* This function will only change the content of the {low,high)_slice_psize
* masks, it will not flush SLBs as this shall be handled lazily by the