commit | 3fb28e199d1f1b3df0f96dd5d1b1b2335a29e3e2 | [log] [tgz] |
---|---|---|
author | Sven Schnelle <svens@stackframe.org> | Sat Oct 09 20:24:37 2021 +0200 |
committer | Helge Deller <deller@gmx.de> | Sat Oct 30 23:11:01 2021 +0200 |
tree | 16061219ead94b723beb244da7255526a7b52c1b | |
parent | 4f1938673994caa85d2da34f9e63f77d837e3b50 [diff] |
parisc: fix preempt_count() check in entry.S preempt_count in struct thread_info is unsigned int, but the entry.S code used LDREG, which generates a 64 bit load when compiled for 64 bit. Fix this to use an ldw and also change the condition in the compare one line below to only compares 32 bits, although ldw zero extends, and that should work with a 64 bit compare. Signed-off-by: Sven Schnelle <svens@stackframe.org> Signed-off-by: Helge Deller <deller@gmx.de>