* the GNU General Public License.
*
* Copyright 2007 Develer S.r.l. (http://www.develer.com/)
- *
* -->
*
- * \brief Function library for serial Flash memory.
+ * \brief Function library for serial Flash memory.
*
* Module provide a kfile interface, that ensure an abstraction
* from comunication channel and give a standard interface.
#include <kern/kfile.h>
-#if CONFIG_KERNEL
-#include <kern/proc.h>
-#endif
+#include <cpu/relax.h> /* cpu_relax() */
#warning FIXME:This file was change, but is untest!
if (!(stat & RDY_BIT))
break;
- #if CONFIG_KERNEL
- else
- proc_switch();
- #endif
+
+ cpu_relax();
}
}