ia64 get_fs() build fix

From: Andrew Morton <akpm_at_osdl.org>
Date: 2004-10-22 18:53:42
Not sure how I managed to do this, but...


In file included from arch/ia64/ia32/binfmt_elf32.c:22:
arch/ia64/ia32/elfcore32.h: In function `elf_core_copy_task_fpregs':            arch/ia64/ia32/elfcore32.h:111: warning: implicit declaration of function `get_fs'                                                                              arch/ia64/ia32/elfcore32.h:111: error: incompatible types in assignment
arch/ia64/ia32/elfcore32.h:112: warning: implicit declaration of function `set_fs'
arch/ia64/ia32/elfcore32.h:112: error: `KERNEL_DS' undeclared (first use in this function)
arch/ia64/ia32/elfcore32.h:112: error: (Each undeclared identifier is reported only once
arch/ia64/ia32/elfcore32.h:112: error: for each function it appears in.)        arch/ia64/ia32/elfcore32.h: In function `elf_core_copy_task_xfpregs':
arch/ia64/ia32/elfcore32.h:129: error: incompatible types in assignment         arch/ia64/ia32/elfcore32.h:130: error: `KERNEL_DS' undeclared (first use in this function)

Signed-off-by: Andrew Morton <akpm@osdl.org>
---

 25-akpm/arch/ia64/ia32/elfcore32.h |    1 +
 1 files changed, 1 insertion(+)

diff -puN arch/ia64/ia32/elfcore32.h~ia64-get_fs-build-fix arch/ia64/ia32/elfcore32.h
--- 25/arch/ia64/ia32/elfcore32.h~ia64-get_fs-build-fix	Fri Oct 22 16:42:20 2004
+++ 25-akpm/arch/ia64/ia32/elfcore32.h	Fri Oct 22 16:42:35 2004
@@ -9,6 +9,7 @@
 #define _ELFCORE32_H_
 
 #include <asm/intrinsics.h>
+#include <asm/uaccess.h>
 
 #define USE_ELF_CORE_DUMP 1
 
_

-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Fri Oct 22 04:58:44 2004

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:31 EST