Commit d54a1c64 authored by Alessandro Rubini's avatar Alessandro Rubini

softpll-unify: header changes (no effect on rt_cpu.bin)

use irq.h from wrpc-sw; it only differs in white space.
Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
parent 8d51feb5
......@@ -3,8 +3,11 @@
static inline void clear_irq()
{
unsigned int val = 1;
asm volatile ("wcsr ip, %0"::"r"(val));
unsigned int val = 1;
asm volatile ("wcsr ip, %0"::"r" (val));
}
void disable_irq();
void enable_irq();
#endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment