[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20110108130518.GB25461@merkur.ravnborg.org>
Date: Sat, 8 Jan 2011 14:05:18 +0100
From: Sam Ravnborg <sam@...nborg.org>
To: lkml <linux-kernel@...r.kernel.org>,
linux-kbuild <linux-kbuild@...r.kernel.org>,
linux arch <linux-arch@...r.kernel.org>,
Arnd Bergmann <arnd@...db.de>,
Guan Xuetao <guanxuetao@...c.pku.edu.cn>,
Michal Marek <mmarek@...e.cz>
Subject: [EXAMPLE PATCH 2/2] x86: start to utilize kbuild asm-generic
support
>From fd70bb929b975f02879860aefb48f0b0a14d7aab Mon Sep 17 00:00:00 2001
From: Sam Ravnborg <sam@...nborg.org>
Date: Sat, 8 Jan 2011 13:50:52 +0100
Subject: [PATCH 2/2] x86: start to utilize kbuild asm-generic support
---
arch/x86/.gitignore | 1 +
arch/x86/include/asm-generic | 3 +++
arch/x86/include/asm/termbits.h | 1 -
arch/x86/include/asm/termios.h | 1 -
4 files changed, 4 insertions(+), 2 deletions(-)
create mode 100644 arch/x86/include/asm-generic
delete mode 100644 arch/x86/include/asm/termbits.h
delete mode 100644 arch/x86/include/asm/termios.h
diff --git a/arch/x86/.gitignore b/arch/x86/.gitignore
index 0280790..1448346 100644
--- a/arch/x86/.gitignore
+++ b/arch/x86/.gitignore
@@ -1,3 +1,4 @@
boot/compressed/vmlinux
tools/test_get_len
+include/generated
diff --git a/arch/x86/include/asm-generic b/arch/x86/include/asm-generic
new file mode 100644
index 0000000..50aa036
--- /dev/null
+++ b/arch/x86/include/asm-generic
@@ -0,0 +1,3 @@
+# generic headers from include/asm-generic/
+termbits.h
+termios.h
diff --git a/arch/x86/include/asm/termbits.h b/arch/x86/include/asm/termbits.h
deleted file mode 100644
index 3935b10..0000000
--- a/arch/x86/include/asm/termbits.h
+++ /dev/null
@@ -1 +0,0 @@
-#include <asm-generic/termbits.h>
diff --git a/arch/x86/include/asm/termios.h b/arch/x86/include/asm/termios.h
deleted file mode 100644
index 280d78a..0000000
--- a/arch/x86/include/asm/termios.h
+++ /dev/null
@@ -1 +0,0 @@
-#include <asm-generic/termios.h>
--
1.6.0.6
--
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