diff options
author | Björn Töpel <bjorn@rivosinc.com> | 2023-01-09 12:42:51 +0100 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2023-01-19 02:12:59 +0100 |
commit | 9a3f21fe5cb9f5654ccad7ba712d868f7de66e39 (patch) | |
tree | c387cfc47922be88008781ac2467c253b86105d2 /mm/swapfile.c | |
parent | tools:cgroup:memcg_shrinker remove redundant import (diff) | |
download | linux-9a3f21fe5cb9f5654ccad7ba712d868f7de66e39.tar.xz linux-9a3f21fe5cb9f5654ccad7ba712d868f7de66e39.zip |
selftests: vm: enable cross-compilation
Selftests vm builds break when doing cross-compilation. The Makefile
MACHINE variable incorrectly picks upp the host machine architecture.
If the CROSS_COMPILE variable is set, dig out the target host architecture
from CROSS_COMPILE, instead of calling uname.
Link: https://lkml.kernel.org/r/20230109114251.3349638-1-bjorn@kernel.org
Signed-off-by: Björn Töpel <bjorn@rivosinc.com>
Cc: Shuah Khan <shuah@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/swapfile.c')
0 files changed, 0 insertions, 0 deletions