X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Fasm-cris%2Fcurrent.h;h=5f5c0efd00be4a962b2381e02a89a264efd0e737;hb=43bc926fffd92024b46cafaf7350d669ba9ca884;hp=dce69c99da39088de75bad41a8a8ca073a75bde1;hpb=5273a3df6485dc2ad6aa7ddd441b9a21970f003b;p=linux-2.6.git diff --git a/include/asm-cris/current.h b/include/asm-cris/current.h index dce69c99d..5f5c0efd0 100644 --- a/include/asm-cris/current.h +++ b/include/asm-cris/current.h @@ -5,7 +5,7 @@ struct task_struct; -extern inline struct task_struct * get_current(void) +static inline struct task_struct * get_current(void) { return current_thread_info()->task; }