commit | 5f739e0e2912b809635fac635a8c1140155577e6 | [log] [tgz] |
---|---|---|
author | Nobuhiro Iwamatsu <iwamatsu@nigauri.org> | Sun Aug 28 06:34:37 2011 +0900 |
committer | Jens Axboe <jaxboe@fusionio.com> | Sun Aug 28 10:00:17 2011 +0200 |
tree | 5afb0e16828bd66d13c1ca919ac58586852fad68 | |
parent | d7f5d470dfb9aba383bbf06ea53010c08a4f9b0d [diff] [blame] |
Fix compile on environment of SuperH Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org> Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
diff --git a/arch/arch-sh.h b/arch/arch-sh.h index ef4ee03..f5f313d 100644 --- a/arch/arch-sh.h +++ b/arch/arch-sh.h
@@ -33,6 +33,11 @@ #define read_barrier() mb() #define write_barrier() mb() +#include <stdio.h> +#include <elf.h> + +extern unsigned long arch_flags; + #define CPU_HAS_LLSC 0x0040 static inline int arch_init(char *envp[])