mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-08-16 21:07:13 +00:00

kselftests fails to build because the mm/testcases subdirectory is not created and then the compiler fails to output the binary there. So fix this by simply removing this subdirectory which is not very useful. Signed-off-by: Alexandre Ghiti <alexghiti@rivosinc.com> Reviewed-by: Charlie Jenkins <charlie@rivosinc.com> Link: https://lore.kernel.org/r/20230915100113.13131-1-alexghiti@rivosinc.com Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
13 lines
247 B
Bash
Executable File
13 lines
247 B
Bash
Executable File
#!/bin/sh
|
|
# SPDX-License-Identifier: GPL-2.0
|
|
|
|
original_stack_limit=$(ulimit -s)
|
|
|
|
./mmap_default
|
|
|
|
# Force mmap_bottomup to be ran with bottomup memory due to
|
|
# the unlimited stack
|
|
ulimit -s unlimited
|
|
./mmap_bottomup
|
|
ulimit -s $original_stack_limit
|