[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20060918125105.4b3e88ba@cad-250-152.norway.atmel.com>
Date: Mon, 18 Sep 2006 12:51:05 +0200
From: Haavard Skinnemoen <hskinnemoen@...el.com>
To: Andrew Morton <akpm@...l.org>
Cc: David Woodhouse <dwmw2@...radead.org>, linux-kernel@...r.kernel.org
Subject: [-mm patch] AVR32: Fix exported headers
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@...el.com>
---
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists