Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/compat/linux/arch/arm Get rid of "unused variable" warni...



details:   https://anonhg.NetBSD.org/src/rev/7eb82a1d9ab0
branches:  trunk
changeset: 521642:7eb82a1d9ab0
user:      bjh21 <bjh21%NetBSD.org@localhost>
date:      Sat Feb 02 16:30:28 2002 +0000

description:
Get rid of "unused variable" warnings on arm26.

diffstat:

 sys/compat/linux/arch/arm/linux_sys_machdep.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (32 lines):

diff -r 068345f9c224 -r 7eb82a1d9ab0 sys/compat/linux/arch/arm/linux_sys_machdep.c
--- a/sys/compat/linux/arch/arm/linux_sys_machdep.c     Sat Feb 02 15:57:54 2002 +0000
+++ b/sys/compat/linux/arch/arm/linux_sys_machdep.c     Sat Feb 02 16:30:28 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: linux_sys_machdep.c,v 1.2 2002/01/27 15:27:33 bjh21 Exp $      */
+/*     $NetBSD: linux_sys_machdep.c,v 1.3 2002/02/02 16:30:28 bjh21 Exp $      */
 
 /*-
  * Copyright (c) 2002 Ben Harris
@@ -29,7 +29,7 @@
 
 #include <sys/param.h>
 
-__RCSID("$Id: linux_sys_machdep.c,v 1.2 2002/01/27 15:27:33 bjh21 Exp $");
+__RCSID("$Id: linux_sys_machdep.c,v 1.3 2002/02/02 16:30:28 bjh21 Exp $");
 
 #include <sys/systm.h>
 
@@ -52,12 +52,12 @@
 int
 linux_sys_cacheflush(struct proc *p, void *v, register_t *retval)
 {
+#ifndef arm26
        struct linux_sys_cacheflush_args /* {
                syscallarg(uintptr_t) from;
                syscallarg(uintptr_t) to;
        } */ *uap = v;
 
-#ifndef arm26
        cpu_cache_syncI_rng(SCARG(uap, from),
            SCARG(uap, to) - SCARG(uap, from) + 1);
 #endif



Home | Main Index | Thread Index | Old Index