From: Stephen Rothwell Date: Thu, 13 Oct 2005 06:14:15 +0000 (+1000) Subject: powerpc: fix uname -m X-Git-Tag: v2.6.15-rc1~59^2~173 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=190554db7bcd41935827f71d4f6f787673da208a;p=linux-2.6 powerpc: fix uname -m It will now give ppc64 on 64bit platforms and ppc on 32bit platforms. Signed-off-by: Stephen Rothwell --- diff --git a/arch/powerpc/Makefile b/arch/powerpc/Makefile index 8d1e7bd14c..a5f2eb5f89 100644 --- a/arch/powerpc/Makefile +++ b/arch/powerpc/Makefile @@ -51,6 +51,8 @@ OLDARCH := ppc SZ := 32 endif +UTS_MACHINE := $(OLDARCH) + ifeq ($(HAS_BIARCH),y) override AS += -a$(SZ) override LD += -m elf$(SZ)ppc