Go to the documentation of this file.
12 #include <linux/module.h>
14 #include <linux/ptrace.h>
19 #include <linux/reboot.h>
21 #include <asm/syscalls.h>
36 static void c6x_idle(
void)
45 asm volatile (
" mvc .s2 CSR,%0\n"
59 tick_nohz_idle_enter();
70 tick_nohz_idle_exit();
78 static void halt_loop(
void)
83 asm volatile(
"idle\n");
117 unsigned long clone_flags;
121 clone_flags =
regs->orig_a4;
157 unsigned long ustk_size,
167 childregs->
sp = (
unsigned long)(childregs + 1);
170 childregs->
a1 = ustk_size;
186 asm volatile (
"mv .S2 b14,%0\n" :
"=b"(
dp));