]> git.baikalelectronics.ru Git - kernel.git/commit
C6X: fix KSTK_EIP and KSTK_ESP macros
authorMark Salter <msalter@redhat.com>
Wed, 7 Mar 2012 16:19:31 +0000 (11:19 -0500)
committerMark Salter <msalter@redhat.com>
Wed, 7 Mar 2012 16:28:22 +0000 (11:28 -0500)
commit3e8a3a1d99551ba34afc1f51f7c96bf15e4630e8
treec9643ba142e8532f04d15e24369c42db0ec28778
parent5500df547ae74dc44ce24c6cbd2cb2d777795f4b
C6X: fix KSTK_EIP and KSTK_ESP macros

There was a latent typo in the C6X KSTK_EIP and KSTK_ESP macros which
caused a problem with a new patch which used them. The broken definitions
were of the form:

  #define KSTK_FOO(tsk) (task_pt_regs(task)->foo)

Note the use of task vs tsk. This actually worked before because the
only place in the kernel which used these macros passed in a local
pointer named task.

Signed-off-by: Mark Salter <msalter@redhat.com>
arch/c6x/include/asm/processor.h