X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=include%2Fasm-cris%2Fthread_info.h;h=7ad853c3f74e871afcef861d84685c5360b82dce;hb=b407621c35ed5f9a0734e57472e9539117963768;hp=5ba4b7865cc508da00a6b48ba93e2dbcdd673054;hpb=24665cd00dd06c741ef6268515ca9e6d3cda5c57;p=powerpc.git diff --git a/include/asm-cris/thread_info.h b/include/asm-cris/thread_info.h index 5ba4b7865c..7ad853c3f7 100644 --- a/include/asm-cris/thread_info.h +++ b/include/asm-cris/thread_info.h @@ -43,7 +43,7 @@ struct thread_info { #endif -#define PREEMPT_ACTIVE 0x4000000 +#define PREEMPT_ACTIVE 0x10000000 /* * macros/functions for gaining access to the thread information structure @@ -69,8 +69,6 @@ struct thread_info { /* thread information allocation */ #define alloc_thread_info(tsk) ((struct thread_info *) __get_free_pages(GFP_KERNEL,1)) #define free_thread_info(ti) free_pages((unsigned long) (ti), 1) -#define get_thread_info(ti) get_task_struct((ti)->task) -#define put_thread_info(ti) put_task_struct((ti)->task) #endif /* !__ASSEMBLY__ */