MN10300: Save frame pointer in thread_info struct rather than global var
[linux-2.6-block.git] / arch / mn10300 / include / asm / uaccess.h
index 47e7951e689330061d66e87602432ff45f1deec2..679dee0bbd089dddabdbe230abf3874cebb174aa 100644 (file)
@@ -14,9 +14,8 @@
 /*
  * User space memory access functions
  */
-#include <linux/sched.h>
+#include <linux/thread_info.h>
 #include <asm/page.h>
-#include <asm/pgtable.h>
 #include <asm/errno.h>
 
 #define VERIFY_READ 0
@@ -29,7 +28,6 @@
  *
  * For historical reasons, these macros are grossly misnamed.
  */
-
 #define MAKE_MM_SEG(s) ((mm_segment_t) { (s) })
 
 #define KERNEL_XDS     MAKE_MM_SEG(0xBFFFFFFF)