diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2021-09-09 13:45:26 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2021-09-09 13:45:26 -0700 |
commit | d6c338a741295c04ed84679153448b2fffd2c9cf (patch) | |
tree | c5711758bb97fb010157396815ab1dbc105d7247 /arch/um/kernel | |
parent | 35776f10513c0d523c5dd2f1b415f642497779e2 (diff) | |
parent | adf9ae0d159d3dc94f58d788fc4757c8749ac0df (diff) | |
download | lwn-d6c338a741295c04ed84679153448b2fffd2c9cf.tar.gz lwn-d6c338a741295c04ed84679153448b2fffd2c9cf.zip |
Merge tag 'for-linus-5.15-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rw/uml
Pull UML updates from Richard Weinberger:
- Support for VMAP_STACK
- Support for splice_write in hostfs
- Fixes for virt-pci
- Fixes for virtio_uml
- Various fixes
* tag 'for-linus-5.15-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rw/uml:
um: fix stub location calculation
um: virt-pci: fix uapi documentation
um: enable VMAP_STACK
um: virt-pci: don't do DMA from stack
hostfs: support splice_write
um: virtio_uml: fix memory leak on init failures
um: virtio_uml: include linux/virtio-uml.h
lib/logic_iomem: fix sparse warnings
um: make PCI emulation driver init/exit static
Diffstat (limited to 'arch/um/kernel')
-rw-r--r-- | arch/um/kernel/skas/clone.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/um/kernel/skas/clone.c b/arch/um/kernel/skas/clone.c index 5afac0fef24e..ff5061f29167 100644 --- a/arch/um/kernel/skas/clone.c +++ b/arch/um/kernel/skas/clone.c @@ -24,8 +24,7 @@ void __attribute__ ((__section__ (".__syscall_stub"))) stub_clone_handler(void) { - int stack; - struct stub_data *data = (void *) ((unsigned long)&stack & ~(UM_KERN_PAGE_SIZE - 1)); + struct stub_data *data = get_stub_page(); long err; err = stub_syscall2(__NR_clone, CLONE_PARENT | CLONE_FILES | SIGCHLD, |