Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit 3263c617 authored by David S. Miller's avatar David S. Miller Committed by Greg Kroah-Hartman
Browse files

sparc: Set UTS_MACHINE correctly.


[ Upstream commit 7f5620a5 ]

"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 8c6531f7
(x86: correctly set UTS_MACHINE for "make ARCH=x86")

Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 6ec683e0
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment