]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: setup: report ELF_PLATFORM as the machine for utsname
authorWill Deacon <will.deacon@arm.com>
Fri, 11 Oct 2013 13:52:11 +0000 (14:52 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Fri, 25 Oct 2013 14:59:34 +0000 (15:59 +0100)
commitf928f77a25d2fc84c3074c3d35cfd7b470bdd003
treec80aa99c409769242c4dee5ddcf77c81ce490288
parentc758545e6f0a5370b02c9a53bd1ed1f5aa7a599a
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 <will.deacon@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/kernel/setup.c