From 3ec924a3cb7bc3b37be9adec695d7c3d563b3d2c Mon Sep 17 00:00:00 2001 From: wdenk Date: Sun, 3 Apr 2005 17:23:39 +0000 Subject: Patch by Steven Scholz, 25 Oct 2004: Declare reset_cpu() in include/common.h instead locally --- cpu/arm720t/cpu.c | 2 -- cpu/arm720t/interrupts.c | 2 -- 2 files changed, 4 deletions(-) (limited to 'cpu/arm720t') diff --git a/cpu/arm720t/cpu.c b/cpu/arm720t/cpu.c index ef3fbf3..5421aff 100644 --- a/cpu/arm720t/cpu.c +++ b/cpu/arm720t/cpu.c @@ -84,8 +84,6 @@ int cleanup_before_linux (void) int do_reset (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]) { - extern void reset_cpu (ulong addr); - disable_interrupts (); reset_cpu (0); /*NOTREACHED*/ diff --git a/cpu/arm720t/interrupts.c b/cpu/arm720t/interrupts.c index 842a443..a7ea70a 100644 --- a/cpu/arm720t/interrupts.c +++ b/cpu/arm720t/interrupts.c @@ -31,8 +31,6 @@ #include #include -extern void reset_cpu(ulong addr); - #ifndef CONFIG_NETARM /* we always count down the max. */ #define TIMER_LOAD_VAL 0xffff -- cgit v1.1