From 47751810c31876fafa8a0a41098771aff81e4d59 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Thu, 20 Dec 2007 22:38:07 +0000 Subject: [PATCH] 2007-12-20 Joel Sherrill * rtems/score/cpu.h: Use correct register name. --- cpukit/score/cpu/bfin/ChangeLog | 4 ++++ cpukit/score/cpu/bfin/rtems/score/cpu.h | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/cpukit/score/cpu/bfin/ChangeLog b/cpukit/score/cpu/bfin/ChangeLog index 384721406e..347d9c486e 100644 --- a/cpukit/score/cpu/bfin/ChangeLog +++ b/cpukit/score/cpu/bfin/ChangeLog @@ -1,3 +1,7 @@ +2007-12-20 Joel Sherrill + + * rtems/score/cpu.h: Use correct register name. + 2007-12-17 Joel Sherrill * rtems/score/cpu.h: Add _CPU_Context_Get_SP() for stack check utility. diff --git a/cpukit/score/cpu/bfin/rtems/score/cpu.h b/cpukit/score/cpu/bfin/rtems/score/cpu.h index 3278a606e7..dc9cba2cde 100644 --- a/cpukit/score/cpu/bfin/rtems/score/cpu.h +++ b/cpukit/score/cpu/bfin/rtems/score/cpu.h @@ -526,7 +526,7 @@ typedef struct { } Context_Control; #define _CPU_Context_Get_SP( _context ) \ - (_context)->stack_pointer + (_context)->register_sp /** * @ingroup CPUContext Management