diff options
author | Kyle McMartin <kyle@redhat.com> | 2011-06-02 23:02:53 -0400 |
---|---|---|
committer | Kyle McMartin <kyle@redhat.com> | 2011-06-02 23:02:53 -0400 |
commit | 911cdc530b047423ab87a424b3be90a52d109aa6 (patch) | |
tree | 27576b41d43f565a0269a5d74a5f8a5b58881586 /linux-3.0-fix-uts-release.patch | |
parent | b766b15a87328b7f99f583718a5044b9b5a6ee82 (diff) | |
download | kernel-911cdc530b047423ab87a424b3be90a52d109aa6.tar.gz kernel-911cdc530b047423ab87a424b3be90a52d109aa6.tar.xz kernel-911cdc530b047423ab87a424b3be90a52d109aa6.zip |
fix utsname for 3.0-rc1
Diffstat (limited to 'linux-3.0-fix-uts-release.patch')
-rw-r--r-- | linux-3.0-fix-uts-release.patch | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/linux-3.0-fix-uts-release.patch b/linux-3.0-fix-uts-release.patch new file mode 100644 index 000000000..f33934932 --- /dev/null +++ b/linux-3.0-fix-uts-release.patch @@ -0,0 +1,34 @@ +diff --git a/Makefile b/Makefile +index afb8e0d..e435bf5 100644 +--- a/Makefile ++++ b/Makefile +@@ -1,6 +1,5 @@ + VERSION = 3 + PATCHLEVEL = 0 +-SUBLEVEL = 0 + EXTRAVERSION = -rc1 + NAME = Sneaky Weasel + +@@ -378,9 +377,9 @@ KBUILD_LDFLAGS_MODULE := -T $(srctree)/scripts/module-common.lds + + # Read KERNELRELEASE from include/config/kernel.release (if it exists) + KERNELRELEASE = $(shell cat include/config/kernel.release 2> /dev/null) +-KERNELVERSION = $(VERSION).$(PATCHLEVEL).$(SUBLEVEL)$(EXTRAVERSION) ++KERNELVERSION = $(VERSION).$(PATCHLEVEL)$(EXTRAVERSION) + +-export VERSION PATCHLEVEL SUBLEVEL KERNELRELEASE KERNELVERSION ++export VERSION PATCHLEVEL KERNELRELEASE KERNELVERSION + export ARCH SRCARCH CONFIG_SHELL HOSTCC HOSTCFLAGS CROSS_COMPILE AS LD CC + export CPP AR NM STRIP OBJCOPY OBJDUMP + export MAKE AWK GENKSYMS INSTALLKERNEL PERL UTS_MACHINE +@@ -1005,8 +1004,8 @@ endef + + define filechk_version.h + (echo \#define LINUX_VERSION_CODE $(shell \ +- expr $(VERSION) \* 65536 + $(PATCHLEVEL) \* 256 + $(SUBLEVEL)); \ +- echo '#define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c))';) ++ expr $(VERSION) \* 65536 + $(PATCHLEVEL) \* 256); \ ++ echo '#define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8))';) + endef + + include/linux/version.h: $(srctree)/Makefile FORCE |