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.

Index: linux-2.6.15/arch/um/os-Linux/tls.c
===================================================================
--- linux-2.6.15.orig/arch/um/os-Linux/tls.c    2006-01-19 10:11:33.000000000 
-0500
+++ linux-2.6.15/arch/um/os-Linux/tls.c 2006-01-19 10:14:37.000000000 -0500
@@ -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

Reply via email to