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)
commitaadfc2f957cb470a5a7e52cc41a2fa86e784bcd2
treede744fc0fde63c0133e5bc85edbcafdf233b4f14
parent935ace2fb5cc49ae88bd1f1735ddc51cdc2ebfb3
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: a5497bab5f72 ("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