arm: Move spin() stub to the raspberry_pi cpu.cpp

This unbreaks the U-Boot build, since we already have spin()
in cpu.cpp there, for future implementation using the U-Boot API.
This commit is contained in:
François Revol 2012-12-01 23:52:59 +01:00
parent f2e7bd18c1
commit 218af294af
2 changed files with 8 additions and 6 deletions

View File

@ -33,12 +33,6 @@ kgetc()
}
extern "C" void
spin(bigtime_t time)
{
}
extern "C" status_t
_mutex_lock(mutex*, bool)
{

View File

@ -6,6 +6,14 @@
#include "arch_cpu.h"
extern "C" void
spin(bigtime_t microseconds)
{
// fallback to arch-specific code
arch_spin(microseconds);
}
extern "C" void
cpu_init()
{