]> err.no Git - linux-2.6/commitdiff
sh: fix compressed kernel build
authorManuel Lauss <mano@roarinelk.homelinux.net>
Tue, 15 Apr 2008 17:01:55 +0000 (02:01 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Tue, 15 Apr 2008 17:01:55 +0000 (02:01 +0900)
commit 54a015104136974262afa4b8ddd943ea70dec8a2 broke zImage build on sh arch:

 LD      vmlinux
  SYSMAP  System.map
  SYSMAP  .tmp_System.map
  AS      arch/sh/boot/compressed/head_32.o
In file included from /k/arch/sh/boot/compressed/head_32.S:11:
/k/include/linux/linkage.h:34: error: syntax error in macro parameter list

Fix it for both sh and sh64.

Signed-off-by: Manuel Lauss <mano@roarinelk.homelinux.net>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/boot/compressed/head_32.S
arch/sh/boot/compressed/head_64.S

index a8399b013729faa4bc10081518018ee86f1d813d..06ac31f3be88647af51a3f1011a145b57b6ce2a5 100644 (file)
@@ -7,7 +7,6 @@
 
 .text
 
-#include <linux/linkage.h>
 #include <asm/page.h>
 
        .global startup
index 1d4ecbfc767c484234a3ffe697b822969e775372..f72c1989f5f2f5934e7940490560a2eeac04bb0a 100644 (file)
@@ -13,7 +13,6 @@
  * Modification for compressed loader:
  *   Copyright (C) 2002 Stuart Menefy (stuart.menefy@st.com)
  */
-#include <linux/linkage.h>
 #include <asm/cache.h>
 #include <asm/cpu/mmu_context.h>
 #include <asm/cpu/registers.h>