linux/arch/csky
Guo Ren 8dcbc611f0 csky: kprobe: Fixup code in simulate without 'long'
The type of 'val' is 'unsigned long' in simulate_blz32, so 'val < 0'
can't be true.

Cast 'val' to 'long' here to determine branch token or not,

Fixup instructions: bnezad32, bhsz32, bhz32, blsz32, blz32

Link: https://lore.kernel.org/linux-csky/CAJF2gTQjKXR9gpo06WAWG1aquiT87mATiMGorXs6ChxOxoe90Q@mail.gmail.com/T/#t
Signed-off-by: Guo Ren <guoren@linux.alibaba.com>
Co-developed-by: Menglong Dong <dong.menglong@zte.com.cn>
Signed-off-by: Menglong Dong <dong.menglong@zte.com.cn>
2021-02-27 16:34:50 +08:00
..
abiv1 csky: Fixup swapon 2021-02-27 16:32:54 +08:00
abiv2 csky: Fixup swapon 2021-02-27 16:32:54 +08:00
boot treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
configs csky: Minimize defconfig to support buildroot config.fragment 2020-02-21 15:43:25 +08:00
include csky: Fixup swapon 2021-02-27 16:32:54 +08:00
kernel csky: kprobe: Fixup code in simulate without 'long' 2021-02-27 16:34:50 +08:00
lib csky: Add support for function error injection 2020-07-31 01:52:07 +00:00
mm csky: mm: abort uaccess retries upon fatal signal 2021-01-12 09:52:41 +08:00
Kconfig csky: Add kmemleak support 2021-01-12 09:52:41 +08:00
Kconfig.debug treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Kconfig.platforms csky/Kconfig: Add Kconfig.platforms to support some drivers 2020-02-21 15:43:24 +08:00
Makefile csky: Fixup calltrace panic 2020-05-13 17:55:06 +08:00