Skip to contentSkip to conversation

include fixlet for uml-add-tls-support

PATCH New Jeff Dike 1 participant 1 message Jan 24, 2006 User-mode Linux (UML)

lore
Share & tools
lore

Jeff Dike

author
#0 lore raw

PATCH 1/1 include fixlet for uml-add-tls-support

linux/unistd.h is the place to get the _syscall* macros, not asm/unistd.h. wstearns likes it, and it doesn't hurt me, so it seems to be good.

arch/um/os-Linux/tls.c +1 -1
Index: linux-2.6.15/arch/um/os-Linux/tls.c
===================================================================
@@ -43,7 +43,7 @@ int os_get_thread_area(void *data, int p
 #endif
 
 #ifdef UML_CONFIG_MODE_TT
-#include "asm/unistd.h"
+#include "linux/unistd.h"
 
 _syscall1(int, get_thread_area, modify_ldt_t *, u_info);
 _syscall1(int, set_thread_area, modify_ldt_t *, u_info);

-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
User-mode-linux-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel