From: Akinobu Mita Date: Sun, 26 Mar 2006 09:39:51 +0000 (-0800) Subject: [PATCH] bitops: sh: make thread_info.flags an unsigned long X-Git-Tag: v2.6.17-rc1~486 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6ecf66ae49390bb790673d46e5fb723edcc3733b;p=pandora-kernel.git [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 Cc: Paul Mundt Cc: Kazumoto Kojima Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed