]> git.hungrycats.org Git - linux/commit
[PATCH] PPC64 Segment table code cleanup - remove check duplication
authorPaul Mackerras <paulus@samba.org>
Sat, 14 Aug 2004 03:11:16 +0000 (13:11 +1000)
committerPaul Mackerras <paulus@samba.org>
Sat, 14 Aug 2004 03:11:16 +0000 (13:11 +1000)
commit8fe68cca57527b1b4aad024cad5173cdcb1f3fc2
tree82e8b390380fbca54e1532d97a5465e0132141d1
parente12d746c53c92648d2f5c08e2deecc3996dd8646
[PATCH] PPC64 Segment table code cleanup - remove check duplication

Rearrange the ste_allocate()/__ste_allocate() path in the PPC64
segment table code more sensibly.  This moves various valid address
checks into the lower-level __ste_allocate(), meaning the checks don't
need to be duplicated in preload_stab().

Signed-off-by: David Gibson <dwg@au1.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/ppc64/mm/stab.c