diff options
author | Samuel Holland <samuel.holland@sifive.com> | 2024-01-22 09:52:01 -0800 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2024-01-25 23:52:21 -0800 |
commit | 6f9dc684cae638dda0570154509884ee78d0f75c (patch) | |
tree | beee30649ca24a4e5cb2830989cc539c5dddc4d8 /net/unix/sysctl_net_unix.c | |
parent | e4e3df290f65da6cb27dac1309389c916f27db1a (diff) |
scs: add CONFIG_MMU dependency for vfree_atomic()
The shadow call stack implementation fails to build without CONFIG_MMU:
ld.lld: error: undefined symbol: vfree_atomic
>>> referenced by scs.c
>>> kernel/scs.o:(scs_free) in archive vmlinux.a
Link: https://lkml.kernel.org/r/20240122175204.2371009-1-samuel.holland@sifive.com
Fixes: a2abe7cbd8fe ("scs: switch to vmapped shadow stacks")
Signed-off-by: Samuel Holland <samuel.holland@sifive.com>
Reviewed-by: Sami Tolvanen <samitolvanen@google.com>
Cc: Will Deacon <will@kernel.org>
Cc: <stable@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions