OpenCloudOS-Kernel/arch/csky/kernel
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
..
probes csky: kprobe: Fixup code in simulate without 'long' 2021-02-27 16:34:50 +08:00
vdso csky: Reconstruct VDSO framework 2021-01-12 09:52:41 +08:00
Makefile csky: Reconstruct VDSO framework 2021-01-12 09:52:41 +08:00
asm-offsets.c csky: Fixup gdbmacros.txt with name sp in thread_struct 2020-05-15 00:16:18 +08:00
atomic.S csky: Remove prologue of page fault handler in entry.S 2021-01-12 09:52:40 +08:00
cpu-probe.c csky: Exception handling and mm-fault 2018-10-25 23:36:19 +08:00
entry.S csky: Fixup do_page_fault parent irq status 2021-01-12 09:52:41 +08:00
ftrace.c maccess: rename probe_kernel_{read,write} to copy_{from,to}_kernel_nofault 2020-06-17 10:57:41 -07:00
head.S csky: Add memory layout 2.5G(user):1.5G(kernel) 2021-01-12 09:52:40 +08:00
irq.c csky: IRQ handling 2018-10-26 00:54:22 +08:00
module.c mm: don't include asm/pgtable.h if linux/mm.h is already included 2020-06-09 09:39:13 -07:00
perf_callchain.c csky: Fixup perf callchain unwind 2020-05-13 17:55:05 +08:00
perf_event.c csky: Fixup perf probe failed 2021-01-12 09:52:40 +08:00
perf_regs.c perf/arch: Remove perf_sample_data::regs_user_copy 2020-11-09 18:12:34 +01:00
power.c csky: Library functions 2018-10-26 00:54:24 +08:00
process.c sched/idle: Fix arch_cpu_idle() vs tracing 2020-11-24 16:47:35 +01:00
ptrace.c csky: Fix a size determination in gpr_get() 2021-01-12 09:52:41 +08:00
setup.c csky: Add memory layout 2.5G(user):1.5G(kernel) 2021-01-12 09:52:40 +08:00
signal.c csky: Reconstruct VDSO framework 2021-01-12 09:52:41 +08:00
smp.c csky: Add memory layout 2.5G(user):1.5G(kernel) 2021-01-12 09:52:40 +08:00
stacktrace.c kernel: rename show_stack_loglvl() => show_stack() 2020-06-09 09:39:13 -07:00
syscall.c csky: System Call 2018-10-25 23:36:19 +08:00
syscall_table.c csky: System Call 2018-10-25 23:36:19 +08:00
time.c csky: Replace <linux/clk-provider.h> by <linux/of_clk.h> 2020-02-23 12:48:55 +08:00
traps.c csky: Remove prologue of page fault handler in entry.S 2021-01-12 09:52:40 +08:00
vdso.c csky: Reconstruct VDSO framework 2021-01-12 09:52:41 +08:00
vmlinux.lds.S csky: Add memory layout 2.5G(user):1.5G(kernel) 2021-01-12 09:52:40 +08:00