commit | 7f5620a5fcd658f219e85831d3691908f1eccbde | [log] [tgz] |
---|---|---|
author | David S. Miller <davem@davemloft.net> | Sat Dec 05 17:17:55 2009 -0800 |
committer | David S. Miller <davem@davemloft.net> | Sat Dec 05 17:17:55 2009 -0800 |
tree | 8c0e7c4d0b3ea396d9a47c52cf72171fb1bf1bbc | |
parent | c803ba901718c313c469b3510fa93b0011482736 [diff] |
sparc: Set UTS_MACHINE correctly. "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>