arm64: setup: report ELF_PLATFORM as the machine for utsname
authorWill Deacon <[email protected]>
Fri, 11 Oct 2013 13:52:11 +0000 (14:52 +0100)
committerCatalin Marinas <[email protected]>
Fri, 25 Oct 2013 14:59:34 +0000 (15:59 +0100)
commit94ed1f2cb5d46533f10262b1b760db7dbec9cf10
treec80aa99c409769242c4dee5ddcf77c81ce490288
parent5436b5c8305b4ed37c5d11f96c1aaccca63c9ab2
arm64: setup: report ELF_PLATFORM as the machine for utsname

uname -m reports the machine field from the current utsname, which should
reflect the endianness of the system.

This patch reports ELF_PLATFORM for the field, so that everything appears
consistent from userspace.

Signed-off-by: Will Deacon <[email protected]>
Signed-off-by: Catalin Marinas <[email protected]>
arch/arm64/kernel/setup.c