diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/cris/arch-v10/vmlinux.lds.S | 2 | ||||
-rw-r--r-- | arch/cris/arch-v32/vmlinux.lds.S | 2 | ||||
-rw-r--r-- | arch/i386/mach-generic/es7000.c | 2 | ||||
-rw-r--r-- | arch/powerpc/Makefile | 8 | ||||
-rw-r--r-- | arch/powerpc/kernel/vmlinux.lds.S | 4 | ||||
-rw-r--r-- | arch/xtensa/kernel/vmlinux.lds.S | 3 |
6 files changed, 16 insertions, 5 deletions
diff --git a/arch/cris/arch-v10/vmlinux.lds.S b/arch/cris/arch-v10/vmlinux.lds.S index 4b348b38cf33..9859d49d088b 100644 --- a/arch/cris/arch-v10/vmlinux.lds.S +++ b/arch/cris/arch-v10/vmlinux.lds.S | |||
@@ -44,7 +44,7 @@ SECTIONS | |||
44 | ___data_start = . ; | 44 | ___data_start = . ; |
45 | __Sdata = . ; | 45 | __Sdata = . ; |
46 | .data : { /* Data */ | 46 | .data : { /* Data */ |
47 | *(.data) | 47 | DATA_DATA |
48 | } | 48 | } |
49 | __edata = . ; /* End of data section */ | 49 | __edata = . ; /* End of data section */ |
50 | _edata = . ; | 50 | _edata = . ; |
diff --git a/arch/cris/arch-v32/vmlinux.lds.S b/arch/cris/arch-v32/vmlinux.lds.S index 651a77f2ccc4..b076c134c0bb 100644 --- a/arch/cris/arch-v32/vmlinux.lds.S +++ b/arch/cris/arch-v32/vmlinux.lds.S | |||
@@ -49,7 +49,7 @@ SECTIONS | |||
49 | ___data_start = . ; | 49 | ___data_start = . ; |
50 | __Sdata = . ; | 50 | __Sdata = . ; |
51 | .data : { /* Data */ | 51 | .data : { /* Data */ |
52 | *(.data) | 52 | DATA_DATA |
53 | } | 53 | } |
54 | __edata = . ; /* End of data section. */ | 54 | __edata = . ; /* End of data section. */ |
55 | _edata = . ; | 55 | _edata = . ; |
diff --git a/arch/i386/mach-generic/es7000.c b/arch/i386/mach-generic/es7000.c index b47f951c0ec2..4742626f08c4 100644 --- a/arch/i386/mach-generic/es7000.c +++ b/arch/i386/mach-generic/es7000.c | |||
@@ -66,4 +66,4 @@ static int __init acpi_madt_oem_check(char *oem_id, char *oem_table_id) | |||
66 | } | 66 | } |
67 | #endif | 67 | #endif |
68 | 68 | ||
69 | struct genapic apic_es7000 = APIC_INIT("es7000", probe_es7000); | 69 | struct genapic __initdata_refok apic_es7000 = APIC_INIT("es7000", probe_es7000); |
diff --git a/arch/powerpc/Makefile b/arch/powerpc/Makefile index 187a39af3e1c..6c1e36c33faa 100644 --- a/arch/powerpc/Makefile +++ b/arch/powerpc/Makefile | |||
@@ -201,6 +201,14 @@ checkbin: | |||
201 | false; \ | 201 | false; \ |
202 | fi ; \ | 202 | fi ; \ |
203 | fi | 203 | fi |
204 | @if test "$(call cc-fullversion)" = "040200" \ | ||
205 | && test "x${CONFIG_MODULES}${CONFIG_PPC64}" = "xyy" ; then \ | ||
206 | echo -n '*** GCC-4.2.0 cannot compile the 64-bit powerpc ' ; \ | ||
207 | echo 'kernel with modules enabled.' ; \ | ||
208 | echo -n '*** Please use a different GCC version or ' ; \ | ||
209 | echo 'disable kernel modules' ; \ | ||
210 | false ; \ | ||
211 | fi | ||
204 | @if ! /bin/echo dssall | $(AS) -many -o $(TOUT) >/dev/null 2>&1 ; then \ | 212 | @if ! /bin/echo dssall | $(AS) -many -o $(TOUT) >/dev/null 2>&1 ; then \ |
205 | echo -n '*** ${VERSION}.${PATCHLEVEL} kernels no longer build ' ; \ | 213 | echo -n '*** ${VERSION}.${PATCHLEVEL} kernels no longer build ' ; \ |
206 | echo 'correctly with old versions of binutils.' ; \ | 214 | echo 'correctly with old versions of binutils.' ; \ |
diff --git a/arch/powerpc/kernel/vmlinux.lds.S b/arch/powerpc/kernel/vmlinux.lds.S index 7a1f5a0964de..0c458556399f 100644 --- a/arch/powerpc/kernel/vmlinux.lds.S +++ b/arch/powerpc/kernel/vmlinux.lds.S | |||
@@ -177,7 +177,9 @@ SECTIONS | |||
177 | } | 177 | } |
178 | #else | 178 | #else |
179 | .data : { | 179 | .data : { |
180 | *(.data .data.rel* .toc1) | 180 | DATA_DATA |
181 | *(.data.rel*) | ||
182 | *(.toc1) | ||
181 | *(.branch_lt) | 183 | *(.branch_lt) |
182 | } | 184 | } |
183 | 185 | ||
diff --git a/arch/xtensa/kernel/vmlinux.lds.S b/arch/xtensa/kernel/vmlinux.lds.S index 3e31512109f9..ac4ed52034db 100644 --- a/arch/xtensa/kernel/vmlinux.lds.S +++ b/arch/xtensa/kernel/vmlinux.lds.S | |||
@@ -118,7 +118,8 @@ SECTIONS | |||
118 | _fdata = .; | 118 | _fdata = .; |
119 | .data : | 119 | .data : |
120 | { | 120 | { |
121 | *(.data) CONSTRUCTORS | 121 | DATA_DATA |
122 | CONSTRUCTORS | ||
122 | . = ALIGN(XCHAL_ICACHE_LINESIZE); | 123 | . = ALIGN(XCHAL_ICACHE_LINESIZE); |
123 | *(.data.cacheline_aligned) | 124 | *(.data.cacheline_aligned) |
124 | } | 125 | } |