diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2022-11-18 14:31:03 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2022-11-18 14:31:03 -0800 |
commit | 23a60a03d9a9980d1e91190491ceea0dc58fae62 (patch) | |
tree | 166f26a5fd63eff21862b35f3e16c92abf03bfcf /arch/arm64/kernel | |
parent | f4408c3dfcbcc7669caa48786973e88635f3d5e8 (diff) | |
parent | 5b47348fc0b18a78c96f8474cc90b7525ad1bbfe (diff) | |
download | linux-stable-23a60a03d9a9980d1e91190491ceea0dc58fae62.tar.gz linux-stable-23a60a03d9a9980d1e91190491ceea0dc58fae62.tar.bz2 linux-stable-23a60a03d9a9980d1e91190491ceea0dc58fae62.zip |
Merge tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux
Pull arm64 fixes from Catalin Marinas:
- Fix a build error with CONFIG_CFI_CLANG + CONFIG_FTRACE when
CONFIG_FUNCTION_GRAPH_TRACER is not enabled.
- Fix a BUG_ON triggered by the page table checker due to incorrect
file_map_count for non-leaf pmd/pud (the arm64
pmd_user_accessible_page() not checking whether it's a leaf entry).
* tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux:
arm64/mm: fix incorrect file_map_count for non-leaf pmd/pud
arm64: ftrace: Define ftrace_stub_graph only with FUNCTION_GRAPH_TRACER
Diffstat (limited to 'arch/arm64/kernel')
-rw-r--r-- | arch/arm64/kernel/entry-ftrace.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm64/kernel/entry-ftrace.S b/arch/arm64/kernel/entry-ftrace.S index 795344ab4ec4..322a831f8ede 100644 --- a/arch/arm64/kernel/entry-ftrace.S +++ b/arch/arm64/kernel/entry-ftrace.S @@ -299,11 +299,11 @@ SYM_TYPED_FUNC_START(ftrace_stub) ret SYM_FUNC_END(ftrace_stub) +#ifdef CONFIG_FUNCTION_GRAPH_TRACER SYM_TYPED_FUNC_START(ftrace_stub_graph) ret SYM_FUNC_END(ftrace_stub_graph) -#ifdef CONFIG_FUNCTION_GRAPH_TRACER /* * void return_to_handler(void) * |