--- zzzz-none-000/linux-2.6.32.61/kernel/kthread.c 2013-06-10 09:43:48.000000000 +0000 +++ ar10-7272-687/linux-2.6.32.61/kernel/kthread.c 2011-05-06 12:53:47.000000000 +0000 @@ -48,7 +48,7 @@ * and this will return true. You should then return, and your return * value will be passed through to kthread_stop(). */ -int kthread_should_stop(void) +inline int kthread_should_stop(void) { return to_kthread(current)->should_stop; }