Skip to content

Commit

Permalink
[PATCH] uml: fix compile error for tt
Browse files Browse the repository at this point in the history
arch/um/kernel/tt/uaccess.c: In function `copy_from_user_tt':
arch/um/kernel/tt/uaccess.c:11: error: `FIXADDR_USER_START' undeclared (first use in this function)
arch/um/kernel/tt/uaccess.c:11: error: (Each undeclared identifier is reported only once
arch/um/kernel/tt/uaccess.c:11: error: for each function it appears in.)

I get the compile error when I disable CONFIG_MODE_SKAS.

Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
Acked-by: Paolo Giarrusso <blaisorblade@yahoo.it>
Cc: Jeff Dike <jdike@addtoit.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  • Loading branch information
Pekka J Enberg authored and Linus Torvalds committed Dec 12, 2005
1 parent 8140a50 commit bf001b2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 2 additions & 0 deletions arch/um/include/um_uaccess.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
#include "uaccess-skas.h"
#endif

#include "asm/fixmap.h"

#define __under_task_size(addr, size) \
(((unsigned long) (addr) < TASK_SIZE) && \
(((unsigned long) (addr) + (size)) < TASK_SIZE))
Expand Down
1 change: 0 additions & 1 deletion arch/um/kernel/skas/include/uaccess-skas.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
#define __SKAS_UACCESS_H

#include "asm/errno.h"
#include "asm/fixmap.h"

/* No SKAS-specific checking. */
#define access_ok_skas(type, addr, size) 0
Expand Down

0 comments on commit bf001b2

Please sign in to comment.