um: kill unused cpu()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Richard Weinberger <richard@nod.at>
This commit is contained in:
parent
2098e213dd
commit
6605a44866
@ -53,7 +53,6 @@ extern void do_uml_exitcalls(void);
|
|||||||
extern int __cant_sleep(void);
|
extern int __cant_sleep(void);
|
||||||
extern int get_current_pid(void);
|
extern int get_current_pid(void);
|
||||||
extern int copy_from_user_proc(void *to, void *from, int size);
|
extern int copy_from_user_proc(void *to, void *from, int size);
|
||||||
extern int cpu(void);
|
|
||||||
extern char *uml_strdup(const char *string);
|
extern char *uml_strdup(const char *string);
|
||||||
|
|
||||||
extern unsigned long to_irq_stack(unsigned long *mask_out);
|
extern unsigned long to_irq_stack(unsigned long *mask_out);
|
||||||
|
@ -264,11 +264,6 @@ int clear_user_proc(void __user *buf, int size)
|
|||||||
return clear_user(buf, size);
|
return clear_user(buf, size);
|
||||||
}
|
}
|
||||||
|
|
||||||
int cpu(void)
|
|
||||||
{
|
|
||||||
return current_thread_info()->cpu;
|
|
||||||
}
|
|
||||||
|
|
||||||
static atomic_t using_sysemu = ATOMIC_INIT(0);
|
static atomic_t using_sysemu = ATOMIC_INIT(0);
|
||||||
int sysemu_supported;
|
int sysemu_supported;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user