Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a5d2f46a authored by Jeff Dike's avatar Jeff Dike Committed by Linus Torvalds
Browse files

[PATCH] UML: TLS fixlets



Two small TLS fixes -

arch/um/os-Linux/sys-i386/tls.c uses errno and -E* so it should include
    errno.h
__setup_host_supports_tls returns 1, but as an initcall, it should return 0

Signed-off-by: default avatarJeff Dike <jdike@addtoit.com>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 73830056
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
#include <errno.h>
#include <linux/unistd.h>
#include "sysdep/tls.h"
#include "user_util.h"
+1 −1
Original line number Diff line number Diff line
@@ -378,7 +378,7 @@ static int __init __setup_host_supports_tls(void) {
	} else
		printk(KERN_ERR "  Host TLS support NOT detected! "
				"TLS support inside UML will not work\n");
	return 1;
	return 0;
}

__initcall(__setup_host_supports_tls);