1 #include <linux/kernel.h>
2 #include <linux/types.h>
5 #include <linux/errno.h>
7 #include <asm/sigcontext.h>
9 #include <asm/ptrace.h>
10 #include <asm/switch_to.h>
23 (
sizeof(
unsigned int) * 32));
26 (
sizeof(
unsigned int) * 32));
45 (
sizeof(
unsigned int) * 32));
48 (
sizeof(
unsigned int) * 32));
59 for (i = 0; i < wsaved; i++) {
64 sizeof(
struct reg_window));
65 err |=
__put_user(fp, &rwin->rwbuf_stkptrs[i]);
80 for (i = 0; i < wsaved; i++) {
83 sizeof(
struct reg_window));
85 &rp->rwbuf_stkptrs[i]);
90 set_thread_wsaved(wsaved);
92 if (get_thread_wsaved())