Skip to content

Commit 0ab5d75

Browse files
committed
Merge tag 'for-linus' of git://linux-c6x.org/git/projects/linux-c6x-upstreaming
Pull C6X fix from Mark Salter: "Fix for C6X KSTK_EIP and KSTK_ESP macros." * tag 'for-linus' of git://linux-c6x.org/git/projects/linux-c6x-upstreaming: C6X: fix KSTK_EIP and KSTK_ESP macros
2 parents 0cacaf5 + 4cd7c0a commit 0ab5d75

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎arch/c6x/include/asm/processor.h‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,8 +122,8 @@ extern int kernel_thread(int (*fn)(void *), void * arg, unsigned long flags);
122122

123123
extern unsigned long get_wchan(struct task_struct *p);
124124

125-
#define KSTK_EIP(tsk) (task_pt_regs(task)->pc)
126-
#define KSTK_ESP(tsk) (task_pt_regs(task)->sp)
125+
#define KSTK_EIP(task) (task_pt_regs(task)->pc)
126+
#define KSTK_ESP(task) (task_pt_regs(task)->sp)
127127

128128
#define cpu_relax() do { } while (0)
129129

0 commit comments

Comments
 (0)