File tree Expand file tree Collapse file tree 2 files changed +0
-10
lines changed Expand file tree Collapse file tree 2 files changed +0
-10
lines changed Original file line number Diff line number Diff line change @@ -213,14 +213,6 @@ int __uml_cant_sleep(void) {
213
213
/* Is in_interrupt() really needed? */
214
214
}
215
215
216
- int user_context (unsigned long sp )
217
- {
218
- unsigned long stack ;
219
-
220
- stack = sp & (PAGE_MASK << CONFIG_KERNEL_STACK_ORDER );
221
- return stack != (unsigned long ) current_thread_info ();
222
- }
223
-
224
216
extern exitcall_t __uml_exitcall_begin , __uml_exitcall_end ;
225
217
226
218
void do_uml_exitcalls (void )
Original file line number Diff line number Diff line change @@ -74,8 +74,6 @@ struct uml_pt_regs {
74
74
#define UPT_FAULTINFO (r ) (&(r)->faultinfo)
75
75
#define UPT_IS_USER (r ) ((r)->is_user)
76
76
77
- extern int user_context (unsigned long sp );
78
-
79
77
extern int arch_init_registers (int pid );
80
78
81
79
#endif /* __SYSDEP_X86_PTRACE_H */
You can’t perform that action at this time.
0 commit comments