From: Haavard Skinnemoen Fix two problems with the headers exported for AVR32. asm/user.h includes asm/processor.h, which isn't exported. It doesn't seem to actually need anything from asm/processor.h, so the include can be dropped. After this, the asm and asm-generic parts of headers_check pass. There are still a few failures with non-AVR32 specific headers, but I'm assuming they will be fixed separately. strace needs asm/cachectl.h. Export it. Signed-off-by: Haavard Skinnemoen Signed-off-by: Andrew Morton --- include/asm-avr32/Kbuild | 2 ++ include/asm-avr32/user.h | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff -puN include/asm-avr32/Kbuild~avr32-fix-exported-headers include/asm-avr32/Kbuild --- a/include/asm-avr32/Kbuild~avr32-fix-exported-headers +++ a/include/asm-avr32/Kbuild @@ -1 +1,3 @@ include include/asm-generic/Kbuild.asm + +headers-y += cachectl.h diff -puN include/asm-avr32/user.h~avr32-fix-exported-headers include/asm-avr32/user.h --- a/include/asm-avr32/user.h~avr32-fix-exported-headers +++ a/include/asm-avr32/user.h @@ -12,7 +12,6 @@ #define __ASM_AVR32_USER_H #include -#include #include #include _