Message ID | 1350433728-24120-7-git-send-email-kim.phillips@freescale.com |
---|---|
State | Superseded |
Delegated to: | Tom Rini |
Headers | show |
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;
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(-)