Re: [PATCH 5/6] fix warning on test_ti_thread_flag()

From: Paul Mackerras
Date: Wed Jan 25 2006 - 17:28:04 EST


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.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/