i386: Resolve dependency of asm-i386/pgtable.h on highmem.h
authorChristoph Lameter <clameter@sgi.com>
Tue, 5 Feb 2008 06:28:33 +0000 (22:28 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 5 Feb 2008 17:44:14 +0000 (09:44 -0800)
commit0b7a96114bd5991d355a1f1c1d3d9c0c9d9c1cfc
treed39101677aaa7214055c7098f5650a631dfeb74d
parentb3bdda02aa547a0753b4fdbc105e86ef9046b30b
i386: Resolve dependency of asm-i386/pgtable.h on highmem.h

pgtable.h does not include highmem.h but uses various constants from
highmem.h.  We cannot include highmem.h because highmem.h will in turn include
many other include files that also depend on pgtable.h

So move the definitions from highmem.h into pgtable.h.

[akpm@linux-foundation.org: coding-style fixes]
Signed-off-by: Christoph Lameter <clameter@sgi.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/asm-x86/highmem.h
include/asm-x86/pgtable_32.h