aboutsummaryrefslogtreecommitdiffstats
path: root/arch/um/os-Linux
diff options
context:
space:
mode:
authorJeff Dike <jdike@addtoit.com>2007-10-16 04:26:44 -0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-10-16 12:43:04 -0400
commit71f926f2ea61994470a53c9e11d3ef993197cada (patch)
tree731d5ce6d0be171f693a1c0960f752a5b8e708fc /arch/um/os-Linux
parent2f8a2dc2cf8012179e35c1f01a1eef45de18f1a7 (diff)
uml: stop using libc asm/page.h
Remove includes of asm/page.h from libc code. This header seems to be disappearing, and UML doesn't make much use of it anyway. The one use, PAGE_SHIFT in stub.h, is handled by copying the constant from the kernel side of the house in common_offsets.h. Signed-off-by: Jeff Dike <jdike@linux.intel.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/um/os-Linux')
-rw-r--r--arch/um/os-Linux/main.c1
-rw-r--r--arch/um/os-Linux/skas/mem.c1
-rw-r--r--arch/um/os-Linux/start_up.c1
-rw-r--r--arch/um/os-Linux/tt.c1
4 files changed, 0 insertions, 4 deletions
diff --git a/arch/um/os-Linux/main.c b/arch/um/os-Linux/main.c
index e85f4995a011..919c25be254a 100644
--- a/arch/um/os-Linux/main.c
+++ b/arch/um/os-Linux/main.c
@@ -12,7 +12,6 @@
12#include <sys/resource.h> 12#include <sys/resource.h>
13#include <sys/mman.h> 13#include <sys/mman.h>
14#include <sys/user.h> 14#include <sys/user.h>
15#include <asm/page.h>
16#include "kern_util.h" 15#include "kern_util.h"
17#include "as-layout.h" 16#include "as-layout.h"
18#include "mem_user.h" 17#include "mem_user.h"
diff --git a/arch/um/os-Linux/skas/mem.c b/arch/um/os-Linux/skas/mem.c
index 0f7df4eb903f..9fbf210ebfb0 100644
--- a/arch/um/os-Linux/skas/mem.c
+++ b/arch/um/os-Linux/skas/mem.c
@@ -9,7 +9,6 @@
9#include <unistd.h> 9#include <unistd.h>
10#include <sys/mman.h> 10#include <sys/mman.h>
11#include <sys/wait.h> 11#include <sys/wait.h>
12#include <asm/page.h>
13#include <asm/unistd.h> 12#include <asm/unistd.h>
14#include "mem_user.h" 13#include "mem_user.h"
15#include "mem.h" 14#include "mem.h"
diff --git a/arch/um/os-Linux/start_up.c b/arch/um/os-Linux/start_up.c
index 46f613975c19..f4f2981f74b9 100644
--- a/arch/um/os-Linux/start_up.c
+++ b/arch/um/os-Linux/start_up.c
@@ -19,7 +19,6 @@
19#include <sys/mman.h> 19#include <sys/mman.h>
20#include <sys/resource.h> 20#include <sys/resource.h>
21#include <asm/unistd.h> 21#include <asm/unistd.h>
22#include <asm/page.h>
23#include <sys/types.h> 22#include <sys/types.h>
24#include "kern_util.h" 23#include "kern_util.h"
25#include "user.h" 24#include "user.h"
diff --git a/arch/um/os-Linux/tt.c b/arch/um/os-Linux/tt.c
index bcf9359c4e9f..5dc113d3296f 100644
--- a/arch/um/os-Linux/tt.c
+++ b/arch/um/os-Linux/tt.c
@@ -17,7 +17,6 @@
17#include <sys/mman.h> 17#include <sys/mman.h>
18#include <asm/ptrace.h> 18#include <asm/ptrace.h>
19#include <asm/unistd.h> 19#include <asm/unistd.h>
20#include <asm/page.h>
21#include "kern_util.h" 20#include "kern_util.h"
22#include "user.h" 21#include "user.h"
23#include "signal_kern.h" 22#include "signal_kern.h"