summaryrefslogtreecommitdiffstats
path: root/arch/ppc
diff options
context:
space:
mode:
authorSam Ravnborg2006-07-03 23:30:54 +0200
committerSam Ravnborg2006-07-03 23:30:54 +0200
commit63104eec234bdecb55fd9c15467ae00d0a3f42ac (patch)
treeaee8fd42c0904cbc8671a7c023a421277db1b16f /arch/ppc
parentMerge branch 'master' of /home/sam/kernel/linux-2.6/ (diff)
downloadkernel-qcow2-linux-63104eec234bdecb55fd9c15467ae00d0a3f42ac.tar.gz
kernel-qcow2-linux-63104eec234bdecb55fd9c15467ae00d0a3f42ac.tar.xz
kernel-qcow2-linux-63104eec234bdecb55fd9c15467ae00d0a3f42ac.zip
kbuild: introduce utsrelease.h
include/linux/version.h contained both actual KERNEL version and UTS_RELEASE that contains a subset from git SHA1 for when kernel was compiled as part of a git repository. This had the unfortunate side-effect that all files including version.h would be recompiled when some git changes was made due to changes SHA1. Split it out so we keep independent parts in separate files. Also update checkversion.pl script to no longer check for UTS_RELEASE. Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Diffstat (limited to 'arch/ppc')
-rw-r--r--arch/ppc/syslib/btext.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/ppc/syslib/btext.c b/arch/ppc/syslib/btext.c
index 51ab6e90fe25..d11667046f21 100644
--- a/arch/ppc/syslib/btext.c
+++ b/arch/ppc/syslib/btext.c
@@ -6,7 +6,7 @@
#include <linux/kernel.h>
#include <linux/string.h>
#include <linux/init.h>
-#include <linux/version.h>
+#include <linux/utsrelease.h>
#include <asm/sections.h>
#include <asm/bootx.h>