[U-Boot] [PATCH 06/32] arch/powerpc/lib/bootm.c: fix noinline attribute

Kim Phillips
2012-10-17T00:28:22Z

including compiler.h in byteorder changes the 'noinline' definition to expand to
__attribute__((noinline)). This fixes:

bootm.c:329:16: error: attribute '__attribute__': unknown attribute
bootm.c:329:16: error: expected ')' before '__attribute__'
bootm.c:329:25: error: expected identifier or '(' before ')' token

Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
---
arch/powerpc/lib/bootm.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/powerpc/lib/bootm.c b/arch/powerpc/lib/bootm.c
index 53dc4df..ac5bd6d 100644
--- a/arch/powerpc/lib/bootm.c
+++ b/arch/powerpc/lib/bootm.c
@@ -326,7 +326,7 @@ static int boot_body_linux(bootm_headers_t *images)
return 0;
}

-__attribute__((noinline))
+noinline
int do_bootm_linux(int flag, int argc, char * const argv[], bootm_headers_t *images)
{
int ret;
--
1.7.12.3