uml cleanups and (minor) fixes
Subsystems (5)
PATCH 1/1 uml cleanups and (minor) fixes
A bunch of assorted um patches - most of that is trimming
an ancient unused crap (declarations with no definitions, unused macros, etc.), with a couple of fixes - missing include in barrier.h and misannotations of iounmap().
The stuff is based at 5.15-rc1 and it can be found ingit://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git work.um
Individual patches in followups.
Diffstat:
arch/um/include/asm/processor-generic.h | 2 +- arch/um/include/shared/common-offsets.h | 15 --------------- arch/um/include/shared/irq_user.h | 1 - arch/um/include/shared/kern_util.h | 2 -- arch/um/include/shared/mem_user.h | 5 ----- arch/um/include/shared/net_kern.h | 2 -- arch/um/include/shared/net_user.h | 1 - arch/um/include/shared/os.h | 13 ------------- arch/um/include/shared/registers.h | 2 -- arch/um/include/shared/sigio.h | 1 - arch/um/kernel/Makefile | 2 +- arch/um/kernel/exec.c | 1 + arch/um/kernel/process.c | 6 +----- arch/um/kernel/syscall.c | 28 ---------------------------- arch/um/kernel/trap.c | 1 - arch/x86/kernel/asm-offsets.c | 3 --- arch/x86/um/asm/barrier.h | 1 + arch/x86/um/os-Linux/registers.c | 1 + arch/x86/um/ptrace_32.c | 1 + arch/x86/um/ptrace_64.c | 1 + arch/x86/um/shared/sysdep/syscalls_64.h | 3 --- arch/x86/um/signal.c | 1 + arch/x86/um/sys_call_table_32.c | 4 ---- arch/x86/um/sys_call_table_64.c | 17 ----------------- arch/x86/um/syscalls_64.c | 11 +++++++++++ include/asm-generic/logic_io.h | 2 +- lib/logic_iomem.c | 4 ++-- 27 files changed, 23 insertions(+), 108 deletions(-) delete mode 100644 arch/um/kernel/syscall.c
_______________________________________________
linux-um mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-um
PATCH 1/15 uml: trim unused junk from arch/x86/um/sys_call_table_*.c
a bunch of detritus there - definitions that are never expanded or checked.
--- arch/x86/um/sys_call_table_32.c | 4 ---- arch/x86/um/sys_call_table_64.c | 14 -------------- 2 files changed, 18 deletions(-)
arch/x86/um/sys_call_table_32.c +0 -4
@@ -9,8 +9,6 @@#include <linux/cache.h> #include <asm/syscall.h> -#define __NO_STUBS -/* * Below you can see, in terms of #define's, the differences between the x86-64 * and the UML syscall table.
@@ -23,8 +21,6 @@#define sys_vm86old sys_ni_syscall#define sys_vm86 sys_ni_syscall -#define old_mmap sys_old_mmap -#define __SYSCALL_WITH_COMPAT (nr, native, compat) __SYSCALL(nr, native)#define __SYSCALL (nr, sym) extern asmlinkage long sym(unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long);
arch/x86/um/sys_call_table_64.c +0 -14
@@ -9,8 +9,6 @@#include <linux/cache.h> #include <asm/syscall.h> -#define __NO_STUBS -/* * Below you can see, in terms of #define's, the differences between the x86-64 * and the UML syscall table.
@@ -20,21 +18,9 @@#define sys_iopl sys_ni_syscall#define sys_ioperm sys_ni_syscall -/* -* The UML TLS problem. Note that x86_64 does not implement this, so the below -* is needed only for the ia32 compatibility. -*/ -/* On UML we call it this way ("old" means it's not mmap2) */ #define sys_mmap old_mmap -#define stub_clone sys_clone -#define stub_fork sys_fork -#define stub_vfork sys_vfork -#define stub_execve sys_execve -#define stub_execveat sys_execveat -#define stub_rt_sigreturn sys_rt_sigreturn -#define __SYSCALL (nr, sym) extern asmlinkage long sym(unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long);#include <asm/syscalls_64.h>
Signature · 7 lines
2.11.0 _______________________________________________ linux-um mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-um
PATCH 2/15 um: move amd64 variant of mmap(2) to arch/x86/um/syscalls_64.c
--- arch/um/kernel/Makefile | 2 +- arch/um/kernel/syscall.c | 28 ---------------------------- arch/x86/um/shared/sysdep/syscalls_64.h | 3 --- arch/x86/um/sys_call_table_64.c | 3 --- arch/x86/um/syscalls_64.c | 10 ++++++++++ 5 files changed, 11 insertions(+), 35 deletions(-) delete mode 100644 arch/um/kernel/syscall.c
arch/um/kernel/Makefile +1 -1
@@ -16,7 +16,7 @@ extra-y := vmlinux.lds obj-y = config.o exec.o exitcode.o irq.o ksyms.o mem.o \ physmem.o process.o ptrace.o reboot.o sigio.o \ - signal.o syscall.o sysrq.o time.o tlb.o trap.o \ + signal.o sysrq.o time.o tlb.o trap.o \ um_arch.o umid.o maccess.o kmsg_dump.o capflags.o skas/ obj-$(CONFIG_BLK_DEV_INITRD) += initrd.o
arch/um/kernel/syscall.c deleted +0 -28
@@ -1,28 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0 -/* -* Copyright (C) 2000 - 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com) -*/ - -#include <linux/file.h> -#include <linux/fs.h> -#include <linux/mm.h> -#include <linux/sched.h> -#include <linux/utsname.h> -#include <linux/syscalls.h> -#include <asm/current.h> -#include <asm/mman.h> -#include <linux/uaccess.h> -#include <asm/unistd.h> - -long old_mmap (unsigned long addr,unsigned long len, -unsigned long prot,unsigned long flags, -unsigned long fd,unsigned long offset) -{ -long err = -EINVAL ; -if (offset & ~PAGE_MASK ) - goto out; - - err =ksys_mmap_pgoff (addr, len, prot, flags, fd, offset >>PAGE_SHIFT ); - out: -return err; -}
arch/x86/um/shared/sysdep/syscalls_64.h +0 -3
@@ -23,9 +23,6 @@ extern syscall_handler_t *sys_call_table[]; UPT_SYSCALL_ARG5(®s->regs), \ UPT_SYSCALL_ARG6(®s->regs))) -extern long old_mmap (unsigned long addr,unsigned long len, -unsigned long prot,unsigned long flags, -unsigned long fd,unsigned long pgoff);extern syscall_handler_t sys_modify_ldt;extern syscall_handler_t sys_arch_prctl;
arch/x86/um/sys_call_table_64.c +0 -3
@@ -18,9 +18,6 @@#define sys_iopl sys_ni_syscall#define sys_ioperm sys_ni_syscall -/* On UML we call it this way ("old" means it's not mmap2) */ -#define sys_mmap old_mmap -#define __SYSCALL (nr, sym) extern asmlinkage long sym(unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long);#include <asm/syscalls_64.h>
arch/x86/um/syscalls_64.c +10 -0
@@ -87,3 +87,13 @@ void arch_switch_to(struct task_struct *to)arch_prctl (to,ARCH_SET_FS , (void __user *) to->thread.arch.fs); } + +SYSCALL_DEFINE6(mmap, unsigned long, addr, unsigned long, len, + unsigned long, prot, unsigned long, flags, + unsigned long, fd, unsigned long, off) +{ +if (off & ~PAGE_MASK ) +return -EINVAL ; + +return ksys_mmap_pgoff (addr, len, prot, flags, fd, off >>PAGE_SHIFT ); +}
Signature · 7 lines
2.11.0 _______________________________________________ linux-um mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-um
PATCH 3/15 logic_io instance of iounmap() needs volatile on argument
In reply to Al Viro... same as the rest of implementations
--- include/asm-generic/logic_io.h | 2 +- lib/logic_iomem.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-)
include/asm-generic/logic_io.h +1 -1
@@ -34,7 +34,7 @@void __iomem *ioremap (phys_addr_t offset,size_t size);#define iounmap iounmap -void iounmap (void __iomem *addr); +void iounmap (void volatile __iomem *addr);#define __raw_readb __raw_readbu8 __raw_readb (const volatile void __iomem *addr);
lib/logic_iomem.c +2 -2
@@ -76,7 +76,7 @@ static void __iomem *real_ioremap(phys_addr_t offset, size_t size)return NULL ; } -static void real_iounmap (void __iomem *addr) +static void real_iounmap (volatile void __iomem *addr) {WARN (1 ,"invalid iounmap for addr 0x%llx\n" , (unsigned long long __force )addr);
@@ -149,7 +149,7 @@ get_area(const volatile void __iomem *addr)return NULL ; } -void iounmap (void __iomem *addr) +void iounmap (volatile void __iomem *addr) {struct logic_iomem_area *area =get_area (addr);
Signature · 7 lines
2.11.0 _______________________________________________ linux-um mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-um
PATCH 4/15 um: stop polluting the namespace with registers.h contents
In reply to Al ViroOnly one extern in there is needed in processor-generic.h, and it's not needed anywhere else. So move it over there and get rid of the include in processor-generic.h, adding includes of registers.h to the few files that need the declarations in it.
--- arch/um/include/asm/processor-generic.h | 2 +- arch/um/include/shared/registers.h | 2 -- arch/um/kernel/exec.c | 1 + arch/um/kernel/process.c | 1 + arch/x86/um/os-Linux/registers.c | 1 + arch/x86/um/ptrace_32.c | 1 + arch/x86/um/ptrace_64.c | 1 + arch/x86/um/signal.c | 1 + arch/x86/um/syscalls_64.c | 1 + 9 files changed, 8 insertions(+), 3 deletions(-)
arch/um/include/asm/processor-generic.h +1 -1
@@ -11,7 +11,6 @@ struct pt_regs;struct task_struct ;#include <asm/ptrace.h> -#include <registers.h> #include <sysdep/archsetjmp.h> #include <linux/prefetch.h>
@@ -105,6 +104,7 @@ extern struct cpuinfo_um boot_cpu_data;#define current_cpu_data boot_cpu_data#define cache_line_size () (boot_cpu_data.cache_alignment) +extern unsigned long get_thread_reg (int reg,jmp_buf *buf);#define KSTK_REG (tsk, reg) get_thread_reg(reg, &tsk->thread.switch_buf)extern unsigned long get_wchan (struct task_struct *p);
arch/um/include/shared/registers.h +0 -2
@@ -7,7 +7,6 @@#define __REGISTERS_H#include <sysdep/ptrace.h> -#include <sysdep/archsetjmp.h> extern int save_i387_registers (int pid,unsigned long *fp_regs);extern int restore_i387_registers (int pid,unsigned long *fp_regs);
@@ -19,7 +18,6 @@ extern int save_registers(int pid, struct uml_pt_regs *regs);extern int restore_registers (int pid,struct uml_pt_regs *regs);extern int init_registers (int pid);extern void get_safe_registers (unsigned long *regs,unsigned long *fp_regs); -extern unsigned long get_thread_reg (int reg,jmp_buf *buf);extern int get_fp_registers (int pid,unsigned long *regs);extern int put_fp_registers (int pid,unsigned long *regs);
arch/um/kernel/exec.c +1 -0
@@ -16,6 +16,7 @@#include <linux/uaccess.h> #include <as-layout.h> #include <mem_user.h> +#include <registers.h> #include <skas.h> #include <os.h>
arch/um/kernel/process.c +1 -0
@@ -31,6 +31,7 @@#include <kern_util.h> #include <os.h> #include <skas.h> +#include <registers.h> #include <linux/time-internal.h> /*
arch/x86/um/os-Linux/registers.c +1 -0
@@ -15,6 +15,7 @@#include <sys/uio.h> #include <asm/sigcontext.h> #include <linux/elf.h> +#include <registers.h> int have_xstate_support;
arch/x86/um/ptrace_32.c +1 -0
@@ -7,6 +7,7 @@#include <linux/sched.h> #include <linux/uaccess.h> #include <asm/ptrace-abi.h> +#include <registers.h> #include <skas.h> extern int arch_switch_tls (struct task_struct *to);
arch/x86/um/ptrace_64.c +1 -0
@@ -11,6 +11,7 @@#define __FRAME_OFFSETS#include <asm/ptrace.h> #include <linux/uaccess.h> +#include <registers.h> #include <asm/ptrace-abi.h> /*
arch/x86/um/signal.c +1 -0
@@ -12,6 +12,7 @@#include <linux/uaccess.h> #include <asm/ucontext.h> #include <frame_kern.h> +#include <registers.h> #include <skas.h> #ifdef CONFIG_X86_32
arch/x86/um/syscalls_64.c +1 -0
@@ -10,6 +10,7 @@#include <linux/syscalls.h> #include <linux/uaccess.h> #include <asm/prctl.h> /* XXX This should get the constants from libc */ +#include <registers.h> #include <os.h> long arch_prctl(struct task_struct *task, int option,
Signature · 7 lines
2.11.0 _______________________________________________ linux-um mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-um
PATCH 5/15 uml/i386: missing include in barrier.h
In reply to Al Virowe need cpufeatures.h there
--- arch/x86/um/asm/barrier.h | 1 + 1 file changed, 1 insertion(+)
arch/x86/um/asm/barrier.h +1 -0
@@ -2,6 +2,7 @@#ifndef _ASM_UM_BARRIER_H_#define _ASM_UM_BARRIER_H_ +#include <asm/cpufeatures.h> #include <asm/alternative.h> /*
Signature · 7 lines
2.11.0 _______________________________________________ linux-um mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-um
PATCH 6/15 um: kill unused cpu()
In reply to Al Viro--- arch/um/include/shared/kern_util.h | 1 - arch/um/kernel/process.c | 5 ----- 2 files changed, 6 deletions(-)
arch/um/include/shared/kern_util.h +0 -1
@@ -53,7 +53,6 @@ extern void do_uml_exitcalls(void);extern int __cant_sleep (void );extern int get_current_pid (void );extern int copy_from_user_proc (void *to,void *from,int size); -extern int cpu (void );extern char *uml_strdup (const char *string);extern unsigned long to_irq_stack (unsigned long *mask_out);
arch/um/kernel/process.c +0 -5
@@ -264,11 +264,6 @@ int clear_user_proc(void __user *buf, int size)return clear_user (buf, size); } -int cpu (void ) -{ -return current_thread_info ()->cpu; -} -static atomic_t using_sysemu =ATOMIC_INIT (0 );int sysemu_supported;
Signature · 7 lines
2.11.0 _______________________________________________ linux-um mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-um
PATCH 7/15 um: remove a dangling extern of syscall_trace()
In reply to Al Virothe function had been gone since 2012...
--- arch/um/include/shared/kern_util.h | 1 - 1 file changed, 1 deletion(-)
arch/um/include/shared/kern_util.h +0 -1
@@ -58,7 +58,6 @@ extern char *uml_strdup(const char *string);extern unsigned long to_irq_stack (unsigned long *mask_out);extern unsigned long from_irq_stack (int nested); -extern void syscall_trace (struct uml_pt_regs *regs,int entryexit);extern int singlestepping (void *t);extern void segv_handler (int sig,struct siginfo *unused_si,struct uml_pt_regs *regs);
Signature · 7 lines
2.11.0 _______________________________________________ linux-um mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-um
PATCH 8/15 um: unexport handle_page_fault()
In reply to Al Viro--- arch/um/kernel/trap.c | 1 - 1 file changed, 1 deletion(-)
arch/um/kernel/trap.c +0 -1
@@ -127,7 +127,6 @@ int handle_page_fault(unsigned long address, unsigned long ip,pagefault_out_of_memory ();return 0 ; } -EXPORT_SYMBOL (handle_page_fault);static void show_segv_info (struct uml_pt_regs *regs) {
Signature · 7 lines
2.11.0 _______________________________________________ linux-um mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-um
PATCH 9/15 um, x86: bury crypto_tfm_ctx_offset
In reply to Al Virounused since 2011
--- arch/um/include/shared/common-offsets.h | 3 --- arch/x86/kernel/asm-offsets.c | 3 --- 2 files changed, 6 deletions(-)
arch/um/include/shared/common-offsets.h +0 -3
@@ -18,9 +18,6 @@ DEFINE(UM_NR_CPUS, NR_CPUS);DEFINE (UM_GFP_KERNEL ,GFP_KERNEL );DEFINE (UM_GFP_ATOMIC ,GFP_ATOMIC ); -/* For crypto assembler code. */ -DEFINE (crypto_tfm_ctx_offset, offsetof(struct crypto_tfm , __crt_ctx)); -DEFINE (UM_THREAD_SIZE ,THREAD_SIZE );DEFINE (UM_HZ ,HZ );
arch/x86/kernel/asm-offsets.c +0 -3
@@ -38,9 +38,6 @@ static void __used common(void)#endif BLANK (); -OFFSET (crypto_tfm_ctx_offset, crypto_tfm, __crt_ctx); - -BLANK ();OFFSET (pbe_address, pbe, address);OFFSET (pbe_orig_address, pbe, orig_address);OFFSET (pbe_next, pbe, next);
Signature · 7 lines
2.11.0 _______________________________________________ linux-um mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-um
PATCH 10/15 um: common-offsets.h debriding...
In reply to Al Viro--- arch/um/include/shared/common-offsets.h | 12 ------------ 1 file changed, 12 deletions(-)
arch/um/include/shared/common-offsets.h +0 -12
@@ -9,29 +9,17 @@ DEFINE(UM_KERN_PAGE_MASK, PAGE_MASK);DEFINE (UM_KERN_PAGE_SHIFT ,PAGE_SHIFT );DEFINE (UM_NSEC_PER_SEC ,NSEC_PER_SEC ); -DEFINE (UM_ELF_CLASS ,ELF_CLASS ); -DEFINE (UM_ELFCLASS32 ,ELFCLASS32 ); -DEFINE (UM_ELFCLASS64 ,ELFCLASS64 ); - -DEFINE (UM_NR_CPUS ,NR_CPUS ); -DEFINE (UM_GFP_KERNEL ,GFP_KERNEL );DEFINE (UM_GFP_ATOMIC ,GFP_ATOMIC );DEFINE (UM_THREAD_SIZE ,THREAD_SIZE ); -DEFINE (UM_HZ ,HZ ); - -DEFINE (UM_USEC_PER_SEC ,USEC_PER_SEC );DEFINE (UM_NSEC_PER_SEC ,NSEC_PER_SEC );DEFINE (UM_NSEC_PER_USEC ,NSEC_PER_USEC );#ifdef CONFIG_PRINTK DEFINE (UML_CONFIG_PRINTK ,CONFIG_PRINTK );#endif -#ifdef CONFIG_NO_HZ_COMMON -DEFINE (UML_CONFIG_NO_HZ_COMMON ,CONFIG_NO_HZ_COMMON ); -#endif #ifdef CONFIG_UML_X86 DEFINE (UML_CONFIG_UML_X86 ,CONFIG_UML_X86 );#endif
Signature · 7 lines
2.11.0 _______________________________________________ linux-um mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-um
PATCH 11/15 um: header debriding - activate_ipi()
In reply to Al Viro... had been dead for 15 years.
--- arch/um/include/shared/irq_user.h | 1 - 1 file changed, 1 deletion(-)
arch/um/include/shared/irq_user.h +0 -1
@@ -20,6 +20,5 @@ void sigio_run_timetravel_handlers(void);extern void free_irq_by_fd (int fd);extern void deactivate_fd (int fd,int irqnum);extern int deactivate_all_fds (void ); -extern int activate_ipi (int fd,int pid);#endif
Signature · 7 lines
2.11.0 _______________________________________________ linux-um mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-um
PATCH 12/15 um: header debriding - mem_user.h
In reply to Al Viroget_vm(), add_iomem(), phys_offset() dead since 2004; init_mem_user() and setup_memory() - since before the initial merge.
--- arch/um/include/shared/mem_user.h | 5 ----- 1 file changed, 5 deletions(-)
arch/um/include/shared/mem_user.h +0 -5
@@ -46,16 +46,11 @@ extern int iomem_size;#define ROUND_4M (n) ((((unsigned long) (n)) + (1 << 22)) & ~((1 << 22) - 1)) -extern int init_mem_user (void ); -extern void setup_memory (void *entry);extern unsigned long find_iomem (char *driver,unsigned long *len_out);extern void mem_total_pages (unsigned long physmem,unsigned long iomem,unsigned long highmem); -extern unsigned long get_vm (unsigned long len);extern void setup_physmem (unsigned long start,unsigned long usable,unsigned long len,unsigned long long highmem); -extern void add_iomem (char *name,int fd,unsigned long size); -extern unsigned long phys_offset (unsigned long phys);extern void map_memory (unsigned long virt,unsigned long phys,unsigned long len,int r,int w,int x);
Signature · 7 lines
2.11.0 _______________________________________________ linux-um mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-um
PATCH 13/15 um: header debriding - net_*.h
In reply to Al Viroexterns dead since before the initial merge
--- arch/um/include/shared/net_kern.h | 2 -- arch/um/include/shared/net_user.h | 1 - 2 files changed, 3 deletions(-)
arch/um/include/shared/net_kern.h +0 -2
@@ -59,8 +59,6 @@ struct transport {const int setup_size; }; -extern struct net_device *ether_init (int ); -extern unsigned short ether_protocol (struct sk_buff *);extern int tap_setup_common (char *str,char *type,char **dev_name,char **mac_out,char **gate_addr);extern void register_transport (struct transport *new);
arch/um/include/shared/net_user.h +0 -1
@@ -24,7 +24,6 @@ struct net_user_info {int mtu; }; -extern void ether_user_init (void *data,void *dev);extern void iter_addresses (void *d,void (*cb)(unsigned char *,unsigned char *,void *),void *arg);
Signature · 7 lines
2.11.0 _______________________________________________ linux-um mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-um
PATCH 14/15 um: header debriding - os.h
In reply to Al Viro--- arch/um/include/shared/os.h | 13 ------------- 1 file changed, 13 deletions(-)
arch/um/include/shared/os.h +0 -13
@@ -159,20 +159,11 @@ extern int os_create_unix_socket(const char *file, int len, int close_on_exec);extern int os_shutdown_socket (int fd,int r,int w);extern void os_close_file (int fd);extern int os_rcv_fd (int fd,int *helper_pid_out); -extern int create_unix_socket (char *file,int len,int close_on_exec);extern int os_connect_socket (const char *name);extern int os_file_type (char *file);extern int os_file_mode (const char *file,struct openflags *mode_out);extern int os_lock_file (int fd,int excl);extern void os_flush_stdout (void ); -extern int os_stat_filesystem (char *path,long *bsize_out, -long long *blocks_out,long long *bfree_out, -long long *bavail_out,long long *files_out, -long long *ffree_out,void *fsid_out, -int fsid_size,long *namelen_out, -long *spare_out); -extern int os_change_dir (char *dir); -extern int os_fchange_dir (int fd);extern unsigned os_major (unsigned long long dev);extern unsigned os_minor (unsigned long long dev);extern unsigned long long os_makedev (unsigned major,unsigned minor);
@@ -232,7 +223,6 @@ extern char *get_umid(void);/* signal.c */ extern void timer_set_signal_handler (void );extern void set_sigstack (void *sig_stack,int size); -extern void remove_sigstack (void );extern void set_handler (int sig);extern void send_sigio_to_self (void );extern int change_sig (int signal,int on);
@@ -266,7 +256,6 @@ extern int os_timer_create(void);extern int os_timer_set_interval (unsigned long long nsecs);extern int os_timer_one_shot (unsigned long long nsecs);extern void os_timer_disable (void ); -extern void uml_idle_timer (void );extern long long os_persistent_clock_emulation (void );extern long long os_nsecs (void );
@@ -290,8 +279,6 @@ extern int is_skas_winch(int pid, int fd, void *data);extern int start_userspace (unsigned long stub_stack);extern int copy_context_skas0 (unsigned long stack,int pid);extern void userspace (struct uml_pt_regs *regs,unsigned long *aux_fp_regs); -extern int map_stub_pages (int fd,unsigned long code,unsigned long data, -unsigned long stack);extern void new_thread (void *stack,jmp_buf *buf,void (*handler)(void ));extern void switch_threads (jmp_buf *me,jmp_buf *you);extern int start_idle_thread (void *stack,jmp_buf *switch_buf);
Signature · 7 lines
2.11.0 _______________________________________________ linux-um mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-um
PATCH 15/15 um: header debriding - sigio.h
In reply to Al Viro--- arch/um/include/shared/sigio.h | 1 - 1 file changed, 1 deletion(-)
arch/um/include/shared/sigio.h +0 -1
@@ -7,7 +7,6 @@#define __SIGIO_H__extern int write_sigio_irq (int fd); -extern int register_sigio_fd (int fd);extern void sigio_lock (void );extern void sigio_unlock (void );
Signature · 7 lines
2.11.0 _______________________________________________ linux-um mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-um