[-mm patch] AVR32: Fix exported headers

From: Haavard Skinnemoen
Date: Mon Sep 18 2006 - 06:49:41 EST


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 <hskinnemoen@xxxxxxxxx>
---
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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/