sparc: Set UTS_MACHINE correctly.
commitb77a21835581b8e2f7ee79dfe762ea5a2069ac6c
authorDavid S. Miller <davem@davemloft.net>
Sun, 6 Dec 2009 01:17:55 +0000 (5 17:17 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 18 Dec 2009 21:44:10 +0000 (18 13:44 -0800)
tree4c7c3bb6c69367d77a0ad01d1cc452820f2cac27
parent2b8d879954ca74e594fe17e30c2ea3a2b4ec893b
sparc: Set UTS_MACHINE correctly.

[ Upstream commit 7f5620a5fcd658f219e85831d3691908f1eccbde ]

"ARCH" can be just about anything, so we shouldn't end up
with UTS_MACHINE of "sparc" in a 64-bit kernel build just
because someone set the personality using 'sparc32' or
similar.  CONFIG_SPARC64 drives the compilation and
therefore provides the definitive value, not "ARCH".

This mirrors commit 8c6531f7a99f29ba8817ffb12cc9ecf190049bd6
(x86: correctly set UTS_MACHINE for "make ARCH=x86")

Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/sparc/Makefile