kernel/bounds: avoid circular dependencies in generated headers
<linux/spinlock.h> has heavy dependencies on other header files.
It triggers circular dependencies in generated headers on IA64, at
In file included from /home/space/kas/git/public/linux/arch/ia64/include/asm/thread_info.h:9:0,
/home/space/kas/git/public/linux/arch/ia64/include/asm/asm-offsets.h:1:35: fatal error: generated/asm-offsets.h: No such file or directory
Let's replace <linux/spinlock.h> with <linux/spinlock_types.h>, it's
enough to find out size of spinlock_t.
Signed-off-by: Kirill A. Shutemov <firstname.lastname@example.org>
Reported-and-Tested-by: Tony Luck <email@example.com>
Signed-off-by: Tony Luck <firstname.lastname@example.org>
1 file changed