Commit 256a7e09 authored by Jes Sorensen's avatar Jes Sorensen Committed by Tony Luck

[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: default avatarJes Sorensen <jes@sgi.com>
Signed-off-by: default avatarTony Luck <tony.luck@intel.com>
parent 012b7105
...@@ -513,7 +513,8 @@ copy_thread (int nr, unsigned long clone_flags, ...@@ -513,7 +513,8 @@ copy_thread (int nr, unsigned long clone_flags,
static void static void
do_copy_task_regs (struct task_struct *task, struct unw_frame_info *info, void *arg) 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; elf_greg_t *dst = arg;
struct pt_regs *pt; struct pt_regs *pt;
char nat; char nat;
......
...@@ -175,7 +175,7 @@ EXPORT_SYMBOL(flush_tlb_range); ...@@ -175,7 +175,7 @@ EXPORT_SYMBOL(flush_tlb_range);
void __devinit void __devinit
ia64_tlb_init (void) ia64_tlb_init (void)
{ {
ia64_ptce_info_t ptce_info; ia64_ptce_info_t uninitialized_var(ptce_info); /* GCC be quiet */
unsigned long tr_pgbits; unsigned long tr_pgbits;
long status; long status;
......
...@@ -369,7 +369,7 @@ static void tio_corelet_reset(nasid_t nasid, int corelet) ...@@ -369,7 +369,7 @@ static void tio_corelet_reset(nasid_t nasid, int corelet)
static int is_fpga_tio(int nasid, int *bt) static int is_fpga_tio(int nasid, int *bt)
{ {
u16 ioboard_type; u16 uninitialized_var(ioboard_type); /* GCC be quiet */
s64 rc; s64 rc;
rc = ia64_sn_sysctl_ioboard_get(nasid, &ioboard_type); rc = ia64_sn_sysctl_ioboard_get(nasid, &ioboard_type);
......
...@@ -80,7 +80,7 @@ static int sal_pcibr_error_interrupt(struct pcibus_info *soft) ...@@ -80,7 +80,7 @@ static int sal_pcibr_error_interrupt(struct pcibus_info *soft)
u16 sn_ioboard_to_pci_bus(struct pci_bus *pci_bus) u16 sn_ioboard_to_pci_bus(struct pci_bus *pci_bus)
{ {
s64 rc; s64 rc;
u16 ioboard; u16 uninitialized_var(ioboard); /* GCC be quiet */
nasid_t nasid = NASID_GET(SN_PCIBUS_BUSSOFT(pci_bus)->bs_base); nasid_t nasid = NASID_GET(SN_PCIBUS_BUSSOFT(pci_bus)->bs_base);
rc = ia64_sn_sysctl_ioboard_get(nasid, &ioboard); rc = ia64_sn_sysctl_ioboard_get(nasid, &ioboard);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment