diff options
Diffstat (limited to 'include/asm-v850/user.h')
-rw-r--r-- | include/asm-v850/user.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/include/asm-v850/user.h b/include/asm-v850/user.h index ccf4cea6dc9c..63cdc567d272 100644 --- a/include/asm-v850/user.h +++ b/include/asm-v850/user.h | |||
@@ -3,8 +3,6 @@ | |||
3 | 3 | ||
4 | /* Adapted from <asm-ppc/user.h>. */ | 4 | /* Adapted from <asm-ppc/user.h>. */ |
5 | 5 | ||
6 | #ifdef __KERNEL__ | ||
7 | |||
8 | #include <linux/ptrace.h> | 6 | #include <linux/ptrace.h> |
9 | #include <asm/page.h> | 7 | #include <asm/page.h> |
10 | 8 | ||
@@ -40,7 +38,7 @@ struct user { | |||
40 | unsigned long start_data; /* data starting address */ | 38 | unsigned long start_data; /* data starting address */ |
41 | unsigned long start_stack; /* stack starting address */ | 39 | unsigned long start_stack; /* stack starting address */ |
42 | long int signal; /* signal causing core dump */ | 40 | long int signal; /* signal causing core dump */ |
43 | struct regs * u_ar0; /* help gdb find registers */ | 41 | unsigned long u_ar0; /* help gdb find registers */ |
44 | unsigned long magic; /* identifies a core file */ | 42 | unsigned long magic; /* identifies a core file */ |
45 | char u_comm[32]; /* user command name */ | 43 | char u_comm[32]; /* user command name */ |
46 | }; | 44 | }; |
@@ -51,6 +49,4 @@ struct user { | |||
51 | #define HOST_DATA_START_ADDR (u.start_data) | 49 | #define HOST_DATA_START_ADDR (u.start_data) |
52 | #define HOST_STACK_END_ADDR (u.start_stack + u.u_ssize * NBPG) | 50 | #define HOST_STACK_END_ADDR (u.start_stack + u.u_ssize * NBPG) |
53 | 51 | ||
54 | #endif /* __KERNEL__ */ | ||
55 | |||
56 | #endif /* __V850_USER_H__ */ | 52 | #endif /* __V850_USER_H__ */ |