summaryrefslogtreecommitdiffstats
path: root/arch/csky/include/asm/processor.h
diff options
context:
space:
mode:
authorGuo Ren <guoren@linux.alibaba.com>2020-05-14 16:04:31 +0800
committerGuo Ren <guoren@linux.alibaba.com>2020-05-15 00:16:18 +0800
commit67002814cf3b7265900003f6a49657847eeeb57d (patch)
tree47dd829a263cd5964ed533c4d2587ac50ead0d7d /arch/csky/include/asm/processor.h
parent9e2ca15322acc5a0a697305e02af9ce5ac881f66 (diff)
downloadlinux-67002814cf3b7265900003f6a49657847eeeb57d.tar.gz
linux-67002814cf3b7265900003f6a49657847eeeb57d.tar.bz2
linux-67002814cf3b7265900003f6a49657847eeeb57d.zip
csky: Fixup gdbmacros.txt with name sp in thread_struct
The gdbmacros.txt use sp in thread_struct, but csky use ksp. This cause bttnobp fail to excute. TODO: - Still couldn't display the contents of stack. Signed-off-by: Guo Ren <guoren@linux.alibaba.com>
Diffstat (limited to 'arch/csky/include/asm/processor.h')
-rw-r--r--arch/csky/include/asm/processor.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/csky/include/asm/processor.h b/arch/csky/include/asm/processor.h
index 79eaaaed3d23..24442d8e86f9 100644
--- a/arch/csky/include/asm/processor.h
+++ b/arch/csky/include/asm/processor.h
@@ -41,7 +41,7 @@ extern struct cpuinfo_csky cpu_data[];
#define TASK_UNMAPPED_BASE (TASK_SIZE / 3)
struct thread_struct {
- unsigned long ksp; /* kernel stack pointer */
+ unsigned long sp; /* kernel stack pointer */
unsigned long trap_no; /* saved status register */
/* FPU regs */
@@ -49,7 +49,7 @@ struct thread_struct {
};
#define INIT_THREAD { \
- .ksp = sizeof(init_stack) + (unsigned long) &init_stack, \
+ .sp = sizeof(init_stack) + (unsigned long) &init_stack, \
}
/*