]> asedeno.scripts.mit.edu Git - linux.git/commit
parisc: Fix boot failure of 64-bit kernel
authorHelge Deller <deller@gmx.de>
Tue, 21 Aug 2018 12:31:32 +0000 (14:31 +0200)
committerHelge Deller <deller@gmx.de>
Tue, 21 Aug 2018 12:32:44 +0000 (14:32 +0200)
commit8801ccb9fa524c195322c26b6d44e99827772bde
tree6168bab9019068b9dfe86fb38c72b5f011e905ff
parent9e0d5c451f9e559dd06af3fff49a0d2068c634c4
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")
arch/parisc/include/asm/linkage.h
arch/parisc/kernel/entry.S
arch/parisc/kernel/unwind.c