linux/arch/um/drivers
Jeff Dike 8192ab42bf uml: header untangling
Untangle UML headers somewhat and add some includes where they were
needed explicitly, but gotten accidentally via some other header.

arch/um/include/um_uaccess.h loses asm/fixmap.h because it uses no
fixmap stuff and gains elf.h, because it needs FIXADDR_USER_*, and
archsetjmp.h, because it needs jmp_buf.

pmd_alloc_one is uninlined because it needs mm_struct, and that's
inconvenient to provide in asm-um/pgtable-3level.h.

elf_core_copy_fpregs is also uninlined from elf-i386.h and
elf-x86_64.h, which duplicated the code anyway, to
arch/um/kernel/process.c, so that the reference to current_thread
doesn't pull sched.h or anything related into asm/elf.h.

arch/um/sys-i386/ldt.c, arch/um/kernel/tlb.c and
arch/um/kernel/skas/uaccess.c got sched.h because they dereference
task_structs.  Its includes of linux and asm headers got turned from
"" to <>.

arch/um/sys-i386/bug.c gets asm/errno.h because it needs errno
constants.

asm/elf-i386 gets asm/user.h because it needs user_regs_struct.

asm/fixmap.h gets page.h because it needs PAGE_SIZE and PAGE_MASK and
system.h for BUG_ON.

asm/pgtable doesn't need sched.h.

asm/processor-generic.h defined mm_segment_t, but didn't use it.  So,
that definition is moved to uaccess.h, which defines a bunch of
mm_segment_t-related stuff.  thread_info.h uses mm_segment_t, and
includes uaccess.h, which causes a recursion.  So, the definition is
placed above the include of thread_info. in uaccess.h.  thread_info.h
also gets page.h because it needs PAGE_SIZE.

ObCheckpatchViolationJustification - I'm not adding a typedef; I'm
moving mm_segment_t from one place to another.

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>
2008-02-05 09:44:28 -08:00
..
chan_kern.c uml: fix console writing bugs 2007-10-16 09:43:04 -07:00
chan_user.c uml: work around host tcsetattr bug 2007-12-03 08:13:17 -08:00
cow_sys.h uml: Eliminate kernel allocator wrappers 2007-07-16 09:05:38 -07:00
cow_user.c uml: arch/um/drivers formatting 2007-10-16 09:43:09 -07:00
cow.h [PATCH] uml: avoid warnings for diffent names for an unsigned quadword 2006-04-11 06:18:37 -07:00
daemon_kern.c uml: network driver MTU cleanups 2007-10-16 09:43:08 -07:00
daemon_user.c uml: network driver MTU cleanups 2007-10-16 09:43:08 -07:00
daemon.h uml: network formatting 2007-10-16 09:43:08 -07:00
fd.c uml: arch/um/drivers formatting 2007-10-16 09:43:09 -07:00
harddog_kern.c uml: fix nonremovability of watchdog 2007-10-16 09:43:04 -07:00
harddog_user.c uml: user of helper_wait() got missed when it got extra arguments 2007-12-23 12:54:37 -08:00
hostaudio_kern.c uml: arch/um/drivers formatting 2007-10-16 09:43:09 -07:00
line.c uml: tidy kern_util.h 2008-02-05 09:44:26 -08:00
Makefile Merge git://git.kernel.org/pub/scm/linux/kernel/git/sam/kbuild 2007-10-16 11:23:06 -07:00
mcast_kern.c uml: network driver MTU cleanups 2007-10-16 09:43:08 -07:00
mcast_user.c uml: network driver MTU cleanups 2007-10-16 09:43:08 -07:00
mcast.h uml: network formatting 2007-10-16 09:43:08 -07:00
mconsole_kern.c uml: more idiomatic parameter parsing 2007-10-16 09:43:08 -07:00
mconsole_user.c uml: arch/um/drivers formatting 2007-10-16 09:43:09 -07:00
mmapper_kern.c uml: arch/um/drivers formatting 2007-10-16 09:43:09 -07:00
net_kern.c [UM]: Fix use of skb after netif_rx 2007-12-11 02:45:27 -08:00
net_user.c uml: stop gdb from deleting breakpoints when running UML 2007-12-17 19:28:15 -08:00
null.c spelling fixes: arch/um/ 2007-10-20 01:23:03 +02:00
pcap_kern.c uml: network driver MTU cleanups 2007-10-16 09:43:08 -07:00
pcap_user.c uml: network driver MTU cleanups 2007-10-16 09:43:08 -07:00
pcap_user.h [PATCH] missed const in prototype 2006-10-10 15:37:24 -07:00
port_kern.c uml: console subsystem tidying 2007-10-16 09:43:04 -07:00
port_user.c uml: console subsystem tidying 2007-10-16 09:43:04 -07:00
port.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
pty.c uml: arch/um/drivers formatting 2007-10-16 09:43:09 -07:00
random.c uml: header untangling 2008-02-05 09:44:28 -08:00
slip_common.c [PATCH] uml: slirp and slip driver cleanups and fixes 2005-06-13 20:58:43 -07:00
slip_common.h [PATCH] uml: fix hugest stack users 2006-02-01 08:53:22 -08:00
slip_kern.c [UMP]: header_ops conversion needed for non-ethernet drivers 2007-10-17 19:35:04 -07:00
slip_user.c uml: stop gdb from deleting breakpoints when running UML 2007-12-17 19:28:15 -08:00
slip.h [PATCH] uml: const more data 2006-09-27 08:26:15 -07:00
slirp_kern.c [UMP]: header_ops conversion needed for non-ethernet drivers 2007-10-17 19:35:04 -07:00
slirp_user.c uml: stop gdb from deleting breakpoints when running UML 2007-12-17 19:28:15 -08:00
slirp.h [PATCH] uml: const more data 2006-09-27 08:26:15 -07:00
ssl.c uml: tidy kern_util.h 2008-02-05 09:44:26 -08:00
ssl.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
stderr_console.c spelling fixes: arch/um/ 2007-10-20 01:23:03 +02:00
stdio_console.c uml: tidy kern_util.h 2008-02-05 09:44:26 -08:00
stdio_console.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
tty.c uml: console subsystem tidying 2007-10-16 09:43:04 -07:00
ubd_kern.c uml: reconst a parameter 2008-02-05 09:44:26 -08:00
ubd_user.c uml: tidy kern_util.h 2008-02-05 09:44:26 -08:00
vde_kern.c uml: network driver MTU cleanups 2007-10-16 09:43:08 -07:00
vde_user.c uml: network driver MTU cleanups 2007-10-16 09:43:08 -07:00
vde.h uml: add VDE networking support 2007-10-16 09:43:05 -07:00
xterm_kern.c uml: xterm driver tidying 2007-07-16 09:05:38 -07:00
xterm.c uml: arch/um/drivers formatting 2007-10-16 09:43:09 -07:00
xterm.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00