]> git.baikalelectronics.ru Git - kernel.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)
commit156532ce3b715fbd826fa53e0b9b16f78693b5c5
tree6168bab9019068b9dfe86fb38c72b5f011e905ff
parent01776d622998409d01857fa0eb55b7974afd974d
parisc: Fix boot failure of 64-bit kernel

Commit 03931d51b68a ("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: 03931d51b68a ("parisc: Fix and improve kernel stack unwinding")
arch/parisc/include/asm/linkage.h
arch/parisc/kernel/entry.S
arch/parisc/kernel/unwind.c