diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2007-09-08 17:22:28 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2007-09-08 17:22:28 +0000 |
commit | 46ba602fe298f8c0d65e4c8be816f27c6e9b6012 (patch) | |
tree | 7aec43bde6c38c03b8b5ca9a4bb6b403beeb1965 /c/src/lib/libbsp/arm/shared/abort/simple_abort.c | |
parent | 2007-09-07 Joel Sherrill <joel.sherrill@oarcorp.com> (diff) | |
download | rtems-46ba602fe298f8c0d65e4c8be816f27c6e9b6012.tar.bz2 |
2007-09-08 Joel Sherrill <joel.sherrill@OARcorp.com>
* shared/abort/abort.c, shared/abort/simple_abort.c: Remove incorrect
and unneccessary prototype of printk.
Diffstat (limited to '')
-rw-r--r-- | c/src/lib/libbsp/arm/shared/abort/simple_abort.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/c/src/lib/libbsp/arm/shared/abort/simple_abort.c b/c/src/lib/libbsp/arm/shared/abort/simple_abort.c index 1f6bc025f4..99aefa8ee9 100644 --- a/c/src/lib/libbsp/arm/shared/abort/simple_abort.c +++ b/c/src/lib/libbsp/arm/shared/abort/simple_abort.c @@ -17,8 +17,9 @@ * http://www.rtems.com/license/LICENSE. * */ -#include <rtems/system.h> + #include <rtems.h> +#include <rtems/bspIo.h> #define INSN_MASK 0xc5 @@ -42,9 +43,6 @@ #define SET_REG(r, ctx, v) (((uint32_t *)ctx)[r] = v) #define GET_OFFSET(insn) (insn & 0xfff) -extern void printk(char *fmt, ...); - - char *_print_full_context_mode2txt[0x10]={ [0x0]="user", /* User */ [0x1]="fiq", /* FIQ - Fast Interrupt Request */ |