[PATCH] Move variables in ppc64 head.S from .data to .bss

The ppc64 head.S defines several zero-initialized structures, such as
the empty_zero_page and the kernel top-level pagetable. Currently
they are defined to be in the data section. However, they're not used
until after the bss is cleared, so this patch moves them to the bss,
saving two and a half pages from the vmlinux.

Signed-off-by: David Gibson <dwg@au1.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>

authored by

David Gibson and committed by
Paul Mackerras
6fbb49d5 91a57fc6

+6 -7
+6 -7
arch/ppc64/kernel/head.S
··· 1971 1971 1972 1972 /* 1973 1973 * We put a few things here that have to be page-aligned. 1974 - * This stuff goes at the beginning of the data segment, 1975 - * which is page-aligned. 1974 + * This stuff goes at the beginning of the bss, which is page-aligned. 1976 1975 */ 1977 - .data 1976 + .section ".bss" 1977 + 1978 1978 .align 12 1979 - .globl sdata 1980 - sdata: 1979 + 1981 1980 .globl empty_zero_page 1982 1981 empty_zero_page: 1983 - .space 4096 1982 + .space PAGE_SIZE 1984 1983 1985 1984 .globl swapper_pg_dir 1986 1985 swapper_pg_dir: 1987 - .space 4096 1986 + .space PAGE_SIZE 1988 1987 1989 1988 /* 1990 1989 * This space gets a copy of optional info passed to us by the bootstrap