aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorSatoru Takeuchi <takeuchi_satoru@jp.fujitsu.com>2006-04-20 18:49:41 +0900
committerTony Luck <tony.luck@intel.com>2006-04-20 17:06:35 -0700
commitee6d4b6ef8df79893d6d4a653b16c99bdb6d2784 (patch)
tree81554409513864f9bcd60965b20c9b421f104cb0 /arch
parent[IA64-SGI] SN SAL call to inject memory errors (diff)
downloadlinux-dev-ee6d4b6ef8df79893d6d4a653b16c99bdb6d2784.tar.xz
linux-dev-ee6d4b6ef8df79893d6d4a653b16c99bdb6d2784.zip
[IA64] eliminate compile time warnings
This is a trivial patch to remove following compile time warning: arch/ia64/ia32/../../../fs/binfmt_elf.c:508: warning: 'randomize_stack_top' defined but not used Signed-off-by: Satoru Takeuchi <takeuchi_satoru@jp.fujitsu.com> Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/ia64/ia32/binfmt_elf32.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/ia64/ia32/binfmt_elf32.c b/arch/ia64/ia32/binfmt_elf32.c
index 4e7a6a1ec6c7..da03c06744f1 100644
--- a/arch/ia64/ia32/binfmt_elf32.c
+++ b/arch/ia64/ia32/binfmt_elf32.c
@@ -35,6 +35,9 @@ extern void ia64_elf32_init (struct pt_regs *regs);
static void elf32_set_personality (void);
+static unsigned long __attribute ((unused))
+randomize_stack_top(unsigned long stack_top);
+
#define setup_arg_pages(bprm,tos,exec) ia32_setup_arg_pages(bprm,exec)
#define elf_map elf32_map