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

From: Tony Breeds
Date: Fri Mar 22 2013 - 01:01:31 EST


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: pgp00000.pgp
Description: PGP signature