diff options
author | Michael Ellerman <mpe@ellerman.id.au> | 2022-08-18 15:06:59 +1000 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2022-08-26 11:02:20 +1000 |
commit | eb316ae798b36b280ef9e6a79d3aa34d146aa0e4 (patch) | |
tree | 3bf99c34882a0e6209bd28f1c0d1886e99f77def /arch/powerpc/kernel/security.c | |
parent | 7a26c952902d1f29b09237b1698a30084f6a3074 (diff) |
powerpc: Move patch sites out of asm-prototypes.h
The definitions for the patch sites etc. don't belong in
asm-prototypes.h, they are not EXPORT'ed asm symbols.
Move them into sections.h which is traditionally used for asm symbols.
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20220818050659.187181-1-mpe@ellerman.id.au
Diffstat (limited to 'arch/powerpc/kernel/security.c')
-rw-r--r-- | arch/powerpc/kernel/security.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/security.c b/arch/powerpc/kernel/security.c index d96fd14bd7c9..b562a1d2c750 100644 --- a/arch/powerpc/kernel/security.c +++ b/arch/powerpc/kernel/security.c @@ -16,6 +16,7 @@ #include <asm/asm-prototypes.h> #include <asm/code-patching.h> #include <asm/security_features.h> +#include <asm/sections.h> #include <asm/setup.h> #include <asm/inst.h> |