]> git.baikalelectronics.ru Git - 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)
commit116973014fa1d1518755e22cf709ea5d95034227
tree9d679cb7f552350a4f1eef03a1fb22925cb01c85
parentf8e51719c090953bf0ac2e7b86ba369f428ea806
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