]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
arm/patch: Fix !MMU compile
authorPeter Zijlstra <peterz@infradead.org>
Fri, 7 Feb 2020 11:57:37 +0000 (12:57 +0100)
committerIngo Molnar <mingo@kernel.org>
Tue, 11 Feb 2020 11:56:27 +0000 (12:56 +0100)
commit7a7a8f549ddd18126dfa3dedbe42d877614c7995
tree9d679cb7f552350a4f1eef03a1fb22925cb01c85
parentbe993e44badc448add6a18d6f12b20615692c4c3
arm/patch: Fix !MMU compile

Now that patch.o is unconditionally selected for ftrace, it can also
get compiled for !MMU kernels. These (obviously) lack
{set,clear}_fixmap() support.

Also remove the superfluous __acquire/__release nonsense.

Fixes: 42e51f187f86 ("arm/ftrace: Use __patch_text()")
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/arm/kernel/patch.c