Re: [patch 02/34] arch: Consolidate tsk_is_polling()

Tony Breeds
2013-03-22T05:01:28Z

[-- Attachment #1: Type: text/plain, Size: 650 bytes --]

On Thu, Mar 21, 2013 at 09:52:57PM -0000, Thomas Gleixner wrote:

> Index: linux-2.6/arch/powerpc/include/asm/thread_info.h
> ===================================================================
> --- linux-2.6.orig/arch/powerpc/include/asm/thread_info.h
> +++ linux-2.6/arch/powerpc/include/asm/thread_info.h
> @@ -182,10 +182,6 @@ static inline bool test_thread_local_fla
> #define is_32bit_task() (1)
> #endif
>
> -#define tsk_is_polling(t) test_tsk_thread_flag(t, TIF_POLLING_NRFLAG)
> -
> -#endif /* !__ASSEMBLY__ */
> -

I think taking out this #endif is wrong. probably wrong in the other
arches as well.

Yours Tony

[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]