]> git.baikalelectronics.ru Git - kernel.git/commit
entry: Correct 'noinstr' attributes
authorIngo Molnar <mingo@kernel.org>
Sat, 25 Jul 2020 09:19:51 +0000 (11:19 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Sun, 26 Jul 2020 13:42:20 +0000 (15:42 +0200)
commit55db155d5f92e7e65da405cafe5c64b539c240b0
treede744fc0fde63c0133e5bc85edbcafdf233b4f14
parent8f39851788be541e79476a9eeb3d379501f0fc10
entry: Correct 'noinstr' attributes

The noinstr attribute is to be specified before the return type in the
same way 'inline' is used.

Similar cases were recently fixed for x86 in commit 7f6fa101dfac ("x86:
Correct noinstr qualifiers"), but the generic entry code was based on the
the original version and did not carry the fix over.

Fixes: c4a89269d303 ("entry: Provide generic interrupt entry/exit code")
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lkml.kernel.org/r/20200725091951.744848-3-mingo@kernel.org
kernel/entry/common.c