summaryrefslogtreecommitdiffstats
path: root/arch/ia64/kernel/process.c
diff options
context:
space:
mode:
authorJes Sorensen <jes@sgi.com>2007-07-11 17:26:30 +0200
committerTony Luck <tony.luck@intel.com>2007-07-11 20:40:42 +0200
commit256a7e097ba3d1179867b4c9aba1b75fb32d44f2 (patch)
tree4d2a3095ddf1d95c816927554e859aab0c92aa13 /arch/ia64/kernel/process.c
parent[IA64] prevent MCA when performing MMIO mmap to PCI config space (diff)
downloadlinux-256a7e097ba3d1179867b4c9aba1b75fb32d44f2.tar.xz
linux-256a7e097ba3d1179867b4c9aba1b75fb32d44f2.zip
[IA64] silence GCC ia64 unused variable warnings
Tell GCC to stop spewing out unnecessary warnings for unused variables passed to functions as pointers for ia64 files. Signed-off-by: Jes Sorensen <jes@sgi.com> Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'arch/ia64/kernel/process.c')
-rw-r--r--arch/ia64/kernel/process.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/ia64/kernel/process.c b/arch/ia64/kernel/process.c
index af73b8dfde28..fa40cba43350 100644
--- a/arch/ia64/kernel/process.c
+++ b/arch/ia64/kernel/process.c
@@ -513,7 +513,8 @@ copy_thread (int nr, unsigned long clone_flags,
static void
do_copy_task_regs (struct task_struct *task, struct unw_frame_info *info, void *arg)
{
- unsigned long mask, sp, nat_bits = 0, ip, ar_rnat, urbs_end, cfm;
+ unsigned long mask, sp, nat_bits = 0, ar_rnat, urbs_end, cfm;
+ unsigned long uninitialized_var(ip); /* GCC be quiet */
elf_greg_t *dst = arg;
struct pt_regs *pt;
char nat;