]> err.no Git - linux-2.6/commit
use defines in sys_getpriority/sys_setpriority
authorDaniel Walker <dwalker@mvista.com>
Fri, 11 May 2007 05:22:53 +0000 (22:22 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Fri, 11 May 2007 15:29:35 +0000 (08:29 -0700)
commit3e88c553db938ad016026375f0545304b9030b42
treebbf9f04dea6f70e6a93a7b26e13db4778c9f3221
parent00b8fd236764e3d5bc1d30dc65e256e283de4c3d
use defines in sys_getpriority/sys_setpriority

Switch to the defines for these two checks, instead of hard coding the
values.

[akpm@linux-foundation.org: add missing include]
Signed-off-by: Daniel Walker <dwalker@mvista.com>
Cc: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/sys.c