diff options
-rw-r--r-- | sys/ia64/ia64/autoconf.c | 3 | ||||
-rw-r--r-- | sys/ia64/ia64/elf_machdep.c | 1 | ||||
-rw-r--r-- | sys/ia64/isa/isa_dma.c | 2 |
3 files changed, 5 insertions, 1 deletions
diff --git a/sys/ia64/ia64/autoconf.c b/sys/ia64/ia64/autoconf.c index 2a3948c..5a6e2d1 100644 --- a/sys/ia64/ia64/autoconf.c +++ b/sys/ia64/ia64/autoconf.c @@ -101,7 +101,10 @@ configure(void *dummy) void cpu_rootconf() { +#if defined(NFSCLIENT) && defined(NFS_ROOT) int order = 0; +#endif + #ifdef BOOTP if (!ia64_running_in_simulator()) bootpc_init(); diff --git a/sys/ia64/ia64/elf_machdep.c b/sys/ia64/ia64/elf_machdep.c index 62302d9..5a4a8be 100644 --- a/sys/ia64/ia64/elf_machdep.c +++ b/sys/ia64/ia64/elf_machdep.c @@ -42,7 +42,6 @@ elf_reloc(linker_file_t lf, const void *data, int type, const char *sym) { Elf_Addr relocbase = (Elf_Addr) lf->address; Elf_Addr *where; - Elf_Addr addr; Elf_Addr addend; Elf_Word rtype; const Elf_Rel *rel; diff --git a/sys/ia64/isa/isa_dma.c b/sys/ia64/isa/isa_dma.c index 85671df..f85406b 100644 --- a/sys/ia64/isa/isa_dma.c +++ b/sys/ia64/isa/isa_dma.c @@ -228,7 +228,9 @@ struct isa_dmastart_arg { static void isa_dmastart_cb(void *arg, bus_dma_segment_t *segs, int nseg, int error) { +#if 0 caddr_t addr = ((struct isa_dmastart_arg *) arg)->addr; +#endif int chan = ((struct isa_dmastart_arg *) arg)->chan; int flags = ((struct isa_dmastart_arg *) arg)->flags; bus_addr_t phys = segs->ds_addr; |