diff options
author | Nicholas Piggin <npiggin@gmail.com> | 2017-05-21 23:15:46 +1000 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2017-06-20 22:22:00 +1000 |
commit | 8c3885141537966065e3d2b9be03e574ae381c79 (patch) | |
tree | e9f291a3ef0bbf380f1c5118cc3ff2f6970ca780 /arch/powerpc/include/asm/head-64.h | |
parent | 4d7cd3b956713d3dfbc3028ad1251b3f6b416a53 (diff) | |
download | lwn-8c3885141537966065e3d2b9be03e574ae381c79.tar.gz lwn-8c3885141537966065e3d2b9be03e574ae381c79.zip |
powerpc/64s: Add EX_SIZE definition for paca exception save areas
Rather than open-coding it 4 times.
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
[mpe: Move __ASSEMBLY__ guards into head-64.h where they're really needed]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/include/asm/head-64.h')
-rw-r--r-- | arch/powerpc/include/asm/head-64.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/head-64.h b/arch/powerpc/include/asm/head-64.h index 7ab95798f170..d81eac5b509f 100644 --- a/arch/powerpc/include/asm/head-64.h +++ b/arch/powerpc/include/asm/head-64.h @@ -3,6 +3,7 @@ #include <asm/cache.h> +#ifdef __ASSEMBLY__ /* * We can't do CPP stringification and concatination directly into the section * name for some reason, so these macros can do it for us. @@ -415,4 +416,6 @@ name: EXC_COMMON_BEGIN(name); \ STD_EXCEPTION_COMMON(realvec + 0x2, name, hdlr); \ +#endif /* __ASSEMBLY__ */ + #endif /* _ASM_POWERPC_HEAD_64_H */ |