diff options
author | Helge Deller <deller@gmx.de> | 2018-08-21 14:31:32 +0200 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2018-08-21 14:32:44 +0200 |
commit | 8801ccb9fa524c195322c26b6d44e99827772bde (patch) | |
tree | 6168bab9019068b9dfe86fb38c72b5f011e905ff /arch/parisc/include/asm/linkage.h | |
parent | parisc: Consolidate unwind initialization calls (diff) | |
download | linux-8801ccb9fa524c195322c26b6d44e99827772bde.tar.xz linux-8801ccb9fa524c195322c26b6d44e99827772bde.zip |
parisc: Fix boot failure of 64-bit kernel
Commit c8921d72e390 ("parisc: Fix and improve kernel stack unwinding")
broke booting of 64-bit kernels. On 64-bit kernels function pointers are
actually function descriptors which require dereferencing. In this patch
we instead declare functions in assembly code which are referenced from
C-code as external data pointers with the ENTRY() macro and thus can use
a simple external reference to the functions.
Signed-off-by: Helge Deller <deller@gmx.de>
Fixes: c8921d72e390 ("parisc: Fix and improve kernel stack unwinding")
Diffstat (limited to 'arch/parisc/include/asm/linkage.h')
-rw-r--r-- | arch/parisc/include/asm/linkage.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/arch/parisc/include/asm/linkage.h b/arch/parisc/include/asm/linkage.h index 49f6f3d772cc..cd6fe4febead 100644 --- a/arch/parisc/include/asm/linkage.h +++ b/arch/parisc/include/asm/linkage.h @@ -22,15 +22,6 @@ name: ASM_NL\ .export name -#ifdef CONFIG_64BIT -#define ENDPROC(name) \ - END(name) -#else -#define ENDPROC(name) \ - .type name, @function !\ - END(name) -#endif - #define ENTRY_CFI(name, ...) \ ENTRY(name) ASM_NL\ .proc ASM_NL\ |