summaryrefslogtreecommitdiffstats
path: root/kernel/rcutorture.c
diff options
context:
space:
mode:
authorPaul Mundt2005-11-14 01:07:21 +0100
committerLinus Torvalds2005-11-14 03:14:15 +0100
commit66341a905ef5b3e7aea65b5d9bd1b0361b0ccc61 (patch)
treee993af70651ea563a3d960b2297301ddeb2616bd /kernel/rcutorture.c
parent[PATCH] Fix sparse warning in proc/task_mmu.c (diff)
downloadkernel-qcow2-linux-66341a905ef5b3e7aea65b5d9bd1b0361b0ccc61.tar.gz
kernel-qcow2-linux-66341a905ef5b3e7aea65b5d9bd1b0361b0ccc61.tar.xz
kernel-qcow2-linux-66341a905ef5b3e7aea65b5d9bd1b0361b0ccc61.zip
[PATCH] Shut up per_cpu_ptr() on UP
Currently per_cpu_ptr() doesn't really do anything with 'cpu' in the UP case. This is problematic in the cases where this is the only place the variable is referenced: CC kernel/workqueue.o kernel/workqueue.c: In function `current_is_keventd': kernel/workqueue.c:460: warning: unused variable `cpu' Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'kernel/rcutorture.c')
0 files changed, 0 insertions, 0 deletions