]> err.no Git - linux-2.6/blobdiff - arch/xtensa/kernel/vmlinux.lds.S
x86: printk kernel version in WARN_ON and other dump_stack users
[linux-2.6] / arch / xtensa / kernel / vmlinux.lds.S
index b0582c3c5f8da9dad2f43eb5b9d81ca9a14cbfb0..ac4ed52034dbfb44c00564e9af7020750f0a75aa 100644 (file)
@@ -118,7 +118,8 @@ SECTIONS
   _fdata = .;
   .data :
   {
-    *(.data) CONSTRUCTORS
+    DATA_DATA
+    CONSTRUCTORS
     . = ALIGN(XCHAL_ICACHE_LINESIZE);
     *(.data.cacheline_aligned)
   }
@@ -190,10 +191,7 @@ SECTIONS
   __initramfs_end = .;
 #endif
 
-  . = ALIGN(4096);
-  __per_cpu_start = .;
-  .data.percpu  : { *(.data.percpu) }
-  __per_cpu_end = .;
+  PERCPU(4096)
 
 
   /* We need this dummy segment here */