Skip to content

Commit 0761fc1

Browse files
committed
Merge branch 'for-linus-4.13-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/rw/uml
Pull UML fix from Richard Weinberger: "This contains a single fix for a regression which was introduced while the merge window" * 'for-linus-4.13-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/rw/uml: um: Fix check for _xstate for older hosts
2 parents dd689a6 + 2fb4460 commit 0761fc1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/x86/um/user-offsets.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ void foo(void)
5050
DEFINE(HOST_GS, GS);
5151
DEFINE(HOST_ORIG_AX, ORIG_EAX);
5252
#else
53-
#if defined(PTRACE_GETREGSET) && defined(PTRACE_SETREGSET)
53+
#ifdef FP_XSTATE_MAGIC1
5454
DEFINE(HOST_FP_SIZE, sizeof(struct _xstate) / sizeof(unsigned long));
5555
#else
5656
DEFINE(HOST_FP_SIZE, sizeof(struct _fpstate) / sizeof(unsigned long));

0 commit comments

Comments
 (0)