Messages in this thread Patch in this message | | | Subject | RE: [PATCH] cleanup legacy console_print function | Date | Tue, 15 Sep 2009 11:25:00 -0700 | From | "Anirban Sinha" <> |
| |
>On ia64 (and I think most other assemblers) it is not >necessary to provide any kind of "extern" declaration >before using external symbols.
Ok, here goes:
From: Anirban Sinha <asinha@zeugmasystems.com> Date: Tue, 15 Sep 2009 11:19:29 -0700 Subject: Fix ia64 build breakage.
On ia64 it is not necessary to provide any kind of "extern" declaration before using external symbols.
Signed-off-by: Anirban Sinha <asinha@zeugmasystems.com> --- arch/ia64/kernel/head.S | 1 - arch/ia64/kernel/head.h | 1 - arch/ia64/kernel/process.c | 2 +- 3 files changed, 1 insertions(+), 3 deletions(-) delete mode 100644 arch/ia64/kernel/head.h
diff --git a/arch/ia64/kernel/head.S b/arch/ia64/kernel/head.S index e6c5c3d..23f846d 100644 --- a/arch/ia64/kernel/head.S +++ b/arch/ia64/kernel/head.S @@ -34,7 +34,6 @@ #include <asm/mca_asm.h> #include <linux/init.h> #include <linux/linkage.h> -#include "head.h"
#ifdef CONFIG_HOTPLUG_CPU #define SAL_PSR_BITS_TO_SET \ diff --git a/arch/ia64/kernel/head.h b/arch/ia64/kernel/head.h deleted file mode 100644 index 2e2ac68..0000000 --- a/arch/ia64/kernel/head.h +++ /dev/null @@ -1 +0,0 @@ -extern void console_print(const char *s); -- 1.6.4
| |