]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] bitops: sh: make thread_info.flags an unsigned long
authorAkinobu Mita <mita@miraclelinux.com>
Sun, 26 Mar 2006 09:39:51 +0000 (01:39 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sun, 26 Mar 2006 16:57:15 +0000 (08:57 -0800)
commit3cc3f5e8ebbf170804bb489dc5bdd0f4b5795021
tree67ce42b9a207034b34f0d20a1af367d6aea2848b
parent034de4ad343a813d5da4b04255704f3f99c5662a
[PATCH] bitops: sh: make thread_info.flags an unsigned long

The test_bit() routines are defined to work on a pointer to unsigned long.
But thread_info.flags is __u32 (unsigned int) on sh and it is passed to flag
set/clear/test wrappers in include/linux/thread_info.h.  So the compiler will
print warnings.

This patch changes to unsigned long instead.

Signed-off-by: Akinobu Mita <mita@miraclelinux.com>
Cc: Paul Mundt <lethal@linux-sh.org>
Cc: Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/asm-sh/thread_info.h