This patch fixes 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 <[email protected]>
---
include/asm-avr32/Kbuild | 2 ++
include/asm-avr32/user.h | 1 -
2 files changed, 2 insertions(+), 1 deletion(-)
Index: linux-2.6.18-rc6-mm2/include/asm-avr32/user.h
===================================================================
--- linux-2.6.18-rc6-mm2.orig/include/asm-avr32/user.h 2006-09-15 10:00:11.000000000 +0200
+++ linux-2.6.18-rc6-mm2/include/asm-avr32/user.h 2006-09-18 12:41:35.000000000 +0200
@@ -12,7 +12,6 @@
#define __ASM_AVR32_USER_H
#include <linux/types.h>
-#include <asm/processor.h>
#include <asm/ptrace.h>
#include <asm/page.h>
Index: linux-2.6.18-rc6-mm2/include/asm-avr32/Kbuild
===================================================================
--- linux-2.6.18-rc6-mm2.orig/include/asm-avr32/Kbuild 2006-09-18 12:34:46.000000000 +0200
+++ linux-2.6.18-rc6-mm2/include/asm-avr32/Kbuild 2006-09-18 12:34:54.000000000 +0200
@@ -1 +1,3 @@
include include/asm-generic/Kbuild.asm
+
+headers-y += cachectl.h
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]