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:
parent
f2e7bd18c1
commit
218af294af
@ -33,12 +33,6 @@ kgetc()
|
||||
}
|
||||
|
||||
|
||||
extern "C" void
|
||||
spin(bigtime_t time)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
extern "C" status_t
|
||||
_mutex_lock(mutex*, bool)
|
||||
{
|
||||
|
@ -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()
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user