2005-05-01 21:20:52

by Jeff Dike

[permalink] [raw]
Subject: [PATCH 17/22] UML - S390 preparation, linkage.h inherited from host

From: Bodo Stroesser <[email protected]>

This patch replaces the contents of include/asm-um/linkage.h
by
#include "asm/arch/linkage.h"

Signed-off-by: Bodo Stroesser <[email protected]>
Signed-off-by: Jeff Dike <[email protected]>

diff -puN include/asm-um/linkage.h~arch-linkage.h include/asm-um/linkage.h
--- linux-2.6.11/include/asm-um/linkage.h~arch-linkage.h 2005-04-06 12:04:51.000000000 +0200
+++ linux-2.6.11-root/include/asm-um/linkage.h 2005-04-06 12:04:51.000000000 +0200
@@ -1,7 +1,6 @@
-#ifndef __ASM_LINKAGE_H
-#define __ASM_LINKAGE_H
+#ifndef __ASM_UM_LINKAGE_H
+#define __ASM_UM_LINKAGE_H

-#define FASTCALL(x) x __attribute__((regparm(3)))
-#define fastcall __attribute__((regparm(3)))
+#include "asm/arch/linkage.h"

#endif
_