Skip to content

Commit

Permalink
sh: fix compressed kernel build
Browse files Browse the repository at this point in the history
commit 54a0151 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>
  • Loading branch information
Manuel Lauss authored and Paul Mundt committed Apr 15, 2008
1 parent 50387b3 commit 85eee60
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion arch/sh/boot/compressed/head_32.S
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@

.text

#include <linux/linkage.h>
#include <asm/page.h>

.global startup
Expand Down
1 change: 0 additions & 1 deletion arch/sh/boot/compressed/head_64.S
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 85eee60

Please sign in to comment.