"kernel_locked()" needs <linux/smp_lock.h>.
So make sure to include it in <asm-i386/hardirq.h> when needed (ie for the CONFIG_PREEMPT case).
Showing
Please register or sign in to comment
So make sure to include it in <asm-i386/hardirq.h> when needed (ie for the CONFIG_PREEMPT case).