summaryrefslogtreecommitdiffstats
path: root/target/linux/generic-2.6/patches-2.6.22/207-powerpc_asm_segment_h.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-06-16 01:56:04 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-06-16 01:56:04 +0000
commitf019ac4dc9b89958657dd8c9d81bb2e270c938e7 (patch)
tree59ba27f549ecae008485f94b3771c4fe1df4a563 /target/linux/generic-2.6/patches-2.6.22/207-powerpc_asm_segment_h.patch
parent4f16e9cc3e2c187d19b24785a55ce30a892efd68 (diff)
downloadmaster-31e0f0ae-f019ac4dc9b89958657dd8c9d81bb2e270c938e7.tar.gz
master-31e0f0ae-f019ac4dc9b89958657dd8c9d81bb2e270c938e7.tar.bz2
master-31e0f0ae-f019ac4dc9b89958657dd8c9d81bb2e270c938e7.zip
prepare for the transition to linux 2.6.22 - make it possible to override the kernel version in the target makefile
SVN-Revision: 7644
Diffstat (limited to 'target/linux/generic-2.6/patches-2.6.22/207-powerpc_asm_segment_h.patch')
-rw-r--r--target/linux/generic-2.6/patches-2.6.22/207-powerpc_asm_segment_h.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/target/linux/generic-2.6/patches-2.6.22/207-powerpc_asm_segment_h.patch b/target/linux/generic-2.6/patches-2.6.22/207-powerpc_asm_segment_h.patch
new file mode 100644
index 0000000000..4640c9f4e4
--- /dev/null
+++ b/target/linux/generic-2.6/patches-2.6.22/207-powerpc_asm_segment_h.patch
@@ -0,0 +1,10 @@
+diff -urN linux-2.6.21.1.old/include/asm-powerpc/segment.h linux-2.6.21.1.dev/include/asm-powerpc/segment.h
+--- linux-2.6.21.1.old/include/asm-powerpc/segment.h 1970-01-01 01:00:00.000000000 +0100
++++ linux-2.6.21.1.dev/include/asm-powerpc/segment.h 2007-05-26 20:55:12.738099136 +0200
+@@ -0,0 +1,6 @@
++#ifndef _ASM_SEGMENT_H
++#define _ASM_SEGMENT_H
++
++/* Only here because we have some old header files that expect it.. */
++
++#endif /* _ASM_SEGMENT_H */