X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=include%2Fasm-um%2Fuaccess.h;h=b9a895d6fa1df7cf0447573e58983f5b095e36d2;hb=cdf7da899d840d47e075ff3bd761290653c68b77;hp=077032d4fc47f13c167ea67463646d6519700b62;hpb=fb9fc395174138983a49f2da982ed14caabbe741;p=linux-2.6 diff --git a/include/asm-um/uaccess.h b/include/asm-um/uaccess.h index 077032d4fc..b9a895d6fa 100644 --- a/include/asm-um/uaccess.h +++ b/include/asm-um/uaccess.h @@ -6,7 +6,15 @@ #ifndef __UM_UACCESS_H #define __UM_UACCESS_H -#include "linux/sched.h" +#include +#include + +/* thread_info has a mm_segment_t in it, so put the definition up here */ +typedef struct { + unsigned long seg; +} mm_segment_t; + +#include "linux/thread_info.h" #define VERIFY_READ 0 #define VERIFY_WRITE 1