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/arm925t/cpu.c | 2 -- cpu/arm925t/interrupts.c | 1 - 2 files changed, 3 deletions(-) (limited to 'cpu/arm925t') diff --git a/cpu/arm925t/cpu.c b/cpu/arm925t/cpu.c index b760ec97b..c1c6b03e4 100644 --- a/cpu/arm925t/cpu.c +++ b/cpu/arm925t/cpu.c @@ -125,8 +125,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/arm925t/interrupts.c b/cpu/arm925t/interrupts.c index d3c94768c..ea4aa3b3b 100644 --- a/cpu/arm925t/interrupts.c +++ b/cpu/arm925t/interrupts.c @@ -38,7 +38,6 @@ #include -extern void reset_cpu(ulong addr); #define TIMER_LOAD_VAL 0xffffffff /* macro to read the 32 bit timer */ -- cgit v1.2.3