diff options
| author | Jeff Dike <jdike@addtoit.com> | 2007-05-06 17:51:07 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-05-07 15:13:01 -0400 |
| commit | eb8307595baa729a12db0fec9a80910b13bd6fc8 (patch) | |
| tree | 8fe64a44999871932f0c1671026747840f701b2b /arch/um/kernel | |
| parent | c65badbdf5dc117e45873e760f807063ad59a854 (diff) | |
uml: create arch.h
This patch moves the declarations of the architecture hooks from user_util.h
to a new header, arch.c, and adds the necessary includes to files which need
those declarations.
Signed-off-by: Jeff Dike <jdike@linux.intel.com>
Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/um/kernel')
| -rw-r--r-- | arch/um/kernel/trap.c | 1 | ||||
| -rw-r--r-- | arch/um/kernel/um_arch.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/arch/um/kernel/trap.c b/arch/um/kernel/trap.c index 26f15c458574..e27b898412fc 100644 --- a/arch/um/kernel/trap.c +++ b/arch/um/kernel/trap.c | |||
| @@ -20,6 +20,7 @@ | |||
| 20 | #include "sysdep/sigcontext.h" | 20 | #include "sysdep/sigcontext.h" |
| 21 | #include "user_util.h" | 21 | #include "user_util.h" |
| 22 | #include "kern_util.h" | 22 | #include "kern_util.h" |
| 23 | #include "arch.h" | ||
| 23 | #include "kern.h" | 24 | #include "kern.h" |
| 24 | #include "chan_kern.h" | 25 | #include "chan_kern.h" |
| 25 | #include "mconsole_kern.h" | 26 | #include "mconsole_kern.h" |
diff --git a/arch/um/kernel/um_arch.c b/arch/um/kernel/um_arch.c index 613fb082bbd5..8eefb5202c50 100644 --- a/arch/um/kernel/um_arch.c +++ b/arch/um/kernel/um_arch.c | |||
| @@ -28,6 +28,7 @@ | |||
| 28 | #include "asm/current.h" | 28 | #include "asm/current.h" |
| 29 | #include "user_util.h" | 29 | #include "user_util.h" |
| 30 | #include "kern_util.h" | 30 | #include "kern_util.h" |
| 31 | #include "arch.h" | ||
| 31 | #include "kern.h" | 32 | #include "kern.h" |
| 32 | #include "mem_user.h" | 33 | #include "mem_user.h" |
| 33 | #include "mem.h" | 34 | #include "mem.h" |
