X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Fasm-parisc%2Fthread_info.h;h=fe9b7f8ae4c640b41aaed376f948a64a1c109269;hb=f7f1b0f1e2fbadeab12d24236000e778aa9b1ead;hp=e51693dbceb42cb1fd183eafd3132923311aafa8;hpb=6a77f38946aaee1cd85eeec6cf4229b204c15071;p=linux-2.6.git diff --git a/include/asm-parisc/thread_info.h b/include/asm-parisc/thread_info.h index e51693dbc..fe9b7f8ae 100644 --- a/include/asm-parisc/thread_info.h +++ b/include/asm-parisc/thread_info.h @@ -23,7 +23,7 @@ struct thread_info { .flags = 0, \ .cpu = 0, \ .addr_limit = KERNEL_DS, \ - .preempt_count = 0, \ + .preempt_count = 1, \ .restart_block = { \ .fn = do_no_restart_syscall \ } \ @@ -52,7 +52,7 @@ struct thread_info { #endif /* !__ASSEMBLY */ -#define PREEMPT_ACTIVE 0x4000000 +#define PREEMPT_ACTIVE 0x10000000 /* * thread information flags