summaryrefslogtreecommitdiffstats
path: root/arch/ppc64/kernel/head.S
diff options
context:
space:
mode:
authorOlof Johansson <olof@lixom.net>2005-09-20 13:47:41 +1000
committerPaul Mackerras <paulus@samba.org>2005-09-21 19:21:07 +1000
commit637a6ff6ce525d8495df944550efea0f023dd521 (patch)
treef4d31da12a348ecf9136cef8f5986172d6af6003 /arch/ppc64/kernel/head.S
parentd0035c62d9145a2ce3057c8182a7ff0b4921a41c (diff)
downloadop-kernel-dev-637a6ff6ce525d8495df944550efea0f023dd521.zip
op-kernel-dev-637a6ff6ce525d8495df944550efea0f023dd521.tar.gz
[PATCH] ppc64: Updated Olof misc updates 3/3
Replace some of the hard-coded constants with PAGE_SIZE/SHIFT/ORDER where appropriate. Likewise, in a couple of places it doesn't make sense to base some allocations on page size when all that's required is a constant 4K, etc. Signed-off-by: Olof Johansson <olof@lixom.net> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/ppc64/kernel/head.S')
-rw-r--r--arch/ppc64/kernel/head.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/ppc64/kernel/head.S b/arch/ppc64/kernel/head.S
index 72c6104..22a5ee0 100644
--- a/arch/ppc64/kernel/head.S
+++ b/arch/ppc64/kernel/head.S
@@ -1992,7 +1992,7 @@ _GLOBAL(smp_release_cpus)
*/
.section ".bss"
- .align 12
+ .align PAGE_SHIFT
.globl empty_zero_page
empty_zero_page:
OpenPOWER on IntegriCloud