]> git.neil.brown.name Git - history.git/commit
[PATCH] Remove <linux/mm.h> from <linux/vmalloc.h>
authorTom Rini <trini@kernel.crashing.org>
Sat, 8 Jun 2002 09:13:15 +0000 (02:13 -0700)
committerLinus Torvalds <torvalds@home.transmeta.com>
Sat, 8 Jun 2002 09:13:15 +0000 (02:13 -0700)
commit0bcf1924f303b69b36ae159e3406af4642dc8d3d
tree867aee12b1d21497bbc07b7d6e085ea20a86e26a
parent3f77edfe88b59b70bc538f835cec0a7b797face1
[PATCH] Remove <linux/mm.h> from <linux/vmalloc.h>

This removes <linux/mm.h> from <linux/vmalloc.h>.

This then goes and fixes all of the files (x86 and PPC) which relied on
implicit includes which don't happen anymore.  This also takes
<linux/kdev_t.h> out of fs/mpage.c and puts it into include/linux/bio.h
where it belongs since <linux/bio.h> references 'kdev_t' directly.

A quick summary of the of the added includes:
arch/i386/kernel/microcode.c: needs extern for num_physpages, in linux/mm.h
include/linux/spinlock.h: local_irq* is defined in <asm/system.h> but
this was never directly included.
arch/i386/kernel/microcode.c
fs/mpage.c
include/asm-i386/pci.h
include/asm-i386/pgalloc.h
include/linux/bio.h
include/linux/spinlock.h
include/linux/vmalloc.h