From 27e412464c14ba69f75bf84e66c24ee778962b29 Mon Sep 17 00:00:00 2001 From: Paul Brook Date: Thu, 28 Dec 2006 01:54:16 +0100 Subject: [PATCH] --- yaml --- r: 45175 b: refs/heads/master c: 4cc2f7a84d64d25a16bb9383148c1467284e2356 h: refs/heads/master i: 45173: 4073e96638ce72c7667c2e3da094eaa93aa67fcb 45171: da447396280b04de50fc85e08e489f45be340345 45167: 23f580b5e2ccf521c1c0a8b8ec85408641902e21 v: v3 --- [refs] | 2 +- trunk/include/asm-arm/flat.h | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 408f57c93191..d31c37c0eb97 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 431d2cd99f9721ad09f859dc65895f30385cc5c6 +refs/heads/master: 4cc2f7a84d64d25a16bb9383148c1467284e2356 diff --git a/trunk/include/asm-arm/flat.h b/trunk/include/asm-arm/flat.h index 966946478589..16f5375e57b8 100644 --- a/trunk/include/asm-arm/flat.h +++ b/trunk/include/asm-arm/flat.h @@ -5,7 +5,9 @@ #ifndef __ARM_FLAT_H__ #define __ARM_FLAT_H__ -#define flat_stack_align(sp) /* nothing needed */ +/* An odd number of words will be pushed after this alignment, so + deliberately misalign the value. */ +#define flat_stack_align(sp) sp = (void *)(((unsigned long)(sp) - 4) | 4) #define flat_argvp_envp_on_stack() 1 #define flat_old_ram_flag(flags) (flags) #define flat_reloc_valid(reloc, size) ((reloc) <= (size))