Skip to content

Commit d303402

Browse files
committed
Merge tag 'for-linus-5.7-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/rw/uml
Pull UML fixes from Richard Weinberger: - Two missing includes which caused build issues on recent systems - Correctly set TRANS_GRE_LEN in our vector network driver * tag 'for-linus-5.7-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/rw/uml: um: Fix typo in vector driver transport option definition um: syscall.c: include <asm/unistd.h> um: Fix xor.h include
2 parents 2ea1940 + 2e27d33 commit d303402

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

arch/um/drivers/vector_user.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
#define TRANS_TAP_LEN strlen(TRANS_TAP)
1818

1919
#define TRANS_GRE "gre"
20-
#define TRANS_GRE_LEN strlen(TRANS_RAW)
20+
#define TRANS_GRE_LEN strlen(TRANS_GRE)
2121

2222
#define TRANS_L2TPV3 "l2tpv3"
2323
#define TRANS_L2TPV3_LEN strlen(TRANS_L2TPV3)

arch/um/include/asm/xor.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/* SPDX-License-Identifier: GPL-2.0 */
22
#include <asm-generic/xor.h>
3-
#include <shared/timer-internal.h>
3+
#include <linux/time-internal.h>
44

55
/* pick an arbitrary one - measuring isn't possible with inf-cpu */
66
#define XOR_SELECT_TEMPLATE(x) \

arch/um/kernel/skas/syscall.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
#include <sysdep/ptrace_user.h>
1212
#include <sysdep/syscalls.h>
1313
#include <linux/time-internal.h>
14+
#include <asm/unistd.h>
1415

1516
void handle_syscall(struct uml_pt_regs *r)
1617
{

0 commit comments

Comments
 (0)