swap.c: fix unused argument warning
authorAlan Cox <alan@linux.intel.com>
Fri, 30 Jan 2015 00:24:03 +0000 (00:24 +0000)
committerAlan Cox <alan@linux.intel.com>
Fri, 30 Jan 2015 00:24:03 +0000 (00:24 +0000)
Kernel/swap.c

index 8f206f0..7c59239 100644 (file)
@@ -191,7 +191,7 @@ static ptptr swapvictim(ptptr p, int notself)
                return udata.u_ptab;
        return r;
 #else
-       p;
+       used(p);
        if (notself)
                panic("bad notself\n");
        return udata.u_ptab;