[PATCH] uml: move libc-dependent irq code to os-Linux
The serial UML OS-abstraction layer patch (um/kernel dir). This moves all systemcalls from irq_user.c file under os-Linux dir Signed-off-by: Gennady Sharapov <Gennady.V.Sharapov@intel.com> Signed-off-by: Jeff Dike <jdike@addtoit.com> Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
committed by
Linus Torvalds
parent
d9f8b62a6b
commit
63ae2a94d9
@ -110,6 +110,16 @@ int wait_for_stop(int pid, int sig, int cont_type, void *relay)
|
||||
}
|
||||
}
|
||||
|
||||
void forward_ipi(int fd, int pid)
|
||||
{
|
||||
int err;
|
||||
|
||||
err = os_set_owner(fd, pid);
|
||||
if(err < 0)
|
||||
printk("forward_ipi: set_owner failed, fd = %d, me = %d, "
|
||||
"target = %d, err = %d\n", fd, os_getpid(), pid, -err);
|
||||
}
|
||||
|
||||
/*
|
||||
*-------------------------
|
||||
* only for tt mode (will be deleted in future...)
|
||||
|
Reference in New Issue
Block a user