Remove not needed stack growth direction defines

All supported platforms have descending stack (growth direction is
down). To avoid confusion just remove not needed stack direction
defines.

If new platform with stack direction up is added is should be
configured by adding Kconfig option eg STACK_GROWS_UP and
CONFIG_STACK_GROWS_UP should be used in code that depends on
stack growth direction.

Change-Id: I786ff1ab28d8f8bad3f6d1bbe64defc0e81d1707
Signed-off-by: Szymon Janc <ext.szymon.janc@tieto.com>
This commit is contained in:
Szymon Janc 2015-09-29 17:27:47 +02:00 committed by Anas Nashif
commit 83e0faf19f
4 changed files with 0 additions and 24 deletions

View file

@ -114,9 +114,6 @@ typedef struct preempt tPreempt;
/* stacks */
#define STACK_GROWS_DOWN 0
#define STACK_GROWS_UP 1
#define STACK_ROUND_UP(x) ROUND_UP(x, STACK_ALIGN_SIZE)
#define STACK_ROUND_DOWN(x) ROUND_DOWN(x, STACK_ALIGN_SIZE)