diff mbox

[EXAMPLE,2/2] x86: start to utilize kbuild asm-generic support

Message ID 20110108130518.GB25461@merkur.ravnborg.org (mailing list archive)
State New, archived
Headers show

Commit Message

Sam Ravnborg Jan. 8, 2011, 1:05 p.m. UTC
None
diff mbox

Patch

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>