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