Re: [PATCH 5/6] fix warning on test_ti_thread_flag()
Paul Mackerras <[email protected]> Wed, 25 Jan 2006 22:28:02 +0000
| Newsgroups | org.kernel.vger.ultralinux,org.kernel.vger.linux-ia64,org.kernel.vger.linux-kernel,org.kernel.vger.linux-mips,org.kernel.vger.sparclinux,org.ozlabs.lists.linuxppc-dev |
|---|---|
| Message-ID | <[email protected]> |
Akinobu Mita writes: > If the arechitecture is > - BITS_PER_LONG = 64 > - struct thread_info.flag 32 is bits > - second argument of test_bit() was void * > > Then compiler print error message on test_ti_thread_flags() > in include/linux/thread_info.h And correctly so. The correct fix is to make thread_info.flag an unsigned long. This patch is NAKed. Paul.