diff options
author | Michal Marek <mmarek@suse.com> | 2016-08-30 10:31:35 +0200 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2016-08-31 13:31:38 +0200 |
commit | cfa88c79462d15098db29edebe623428c3620a4b (patch) | |
tree | 3ff1ea9ec224278f8e0548f54de14a6d3cd84372 /arch/arm64/kernel/setup.c | |
parent | arm64: errata: Pass --fix-cortex-a53-843419 to ld if workaround enabled (diff) | |
download | linux-cfa88c79462d15098db29edebe623428c3620a4b.tar.xz linux-cfa88c79462d15098db29edebe623428c3620a4b.zip |
arm64: Set UTS_MACHINE in the Makefile
The make rpm target depends on proper UTS_MACHINE definition. Also, use
the variable in arch/arm64/kernel/setup.c, so that it's not accidentally
removed in the future.
Reported-and-tested-by: Fabian Vogt <fvogt@suse.com>
Signed-off-by: Michal Marek <mmarek@suse.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'arch/arm64/kernel/setup.c')
-rw-r--r-- | arch/arm64/kernel/setup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm64/kernel/setup.c b/arch/arm64/kernel/setup.c index 514b4e3ba029..f534f492a268 100644 --- a/arch/arm64/kernel/setup.c +++ b/arch/arm64/kernel/setup.c @@ -233,7 +233,7 @@ void __init setup_arch(char **cmdline_p) { pr_info("Boot CPU: AArch64 Processor [%08x]\n", read_cpuid_id()); - sprintf(init_utsname()->machine, ELF_PLATFORM); + sprintf(init_utsname()->machine, UTS_MACHINE); init_mm.start_code = (unsigned long) _text; init_mm.end_code = (unsigned long) _etext; init_mm.end_data = (unsigned long) _edata; |