Skip to content

Commit aef2ea9

Browse files
committed
Merge tag 'fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux
Pull virtio/lguest fixes from Rusty Russell: "Missing license tag and some fallout from the lguest pagetable rework" * tag 'fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux: lguest: clear cached last cpu when guest_set_pgd() called. Add missing module license tag to vring helpers.
2 parents f722406 + f616fe4 commit aef2ea9

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

‎drivers/lguest/page_tables.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1002,6 +1002,7 @@ void guest_set_pgd(struct lguest *lg, unsigned long gpgdir, u32 idx)
10021002
kill_guest(&lg->cpus[0],
10031003
"Cannot populate switcher mapping");
10041004
}
1005+
lg->pgdirs[pgdir].last_host_cpu = -1;
10051006
}
10061007
}
10071008

‎drivers/vhost/vringh.c‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
*
44
* Since these may be in userspace, we use (inline) accessors.
55
*/
6+
#include <linux/module.h>
67
#include <linux/vringh.h>
78
#include <linux/virtio_ring.h>
89
#include <linux/kernel.h>
@@ -1005,3 +1006,5 @@ int vringh_need_notify_kern(struct vringh *vrh)
10051006
return __vringh_need_notify(vrh, getu16_kern);
10061007
}
10071008
EXPORT_SYMBOL(vringh_need_notify_kern);
1009+
1010+
MODULE_LICENSE("GPL");

0 commit comments

Comments
 (0)