]> 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)
commitd06e3d9deaae1abc1abc26e24bbbac6defc33445
treede744fc0fde63c0133e5bc85edbcafdf233b4f14
parent439008b4282e98ebf61bf3b400293ab13aa39d95
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: 8d5904786785 ("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