]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitbb879aa55b70ba1c2fde1007697168711a9d31a2
treed39101677aaa7214055c7098f5650a631dfeb74d
parent8fc23e26268a9eb76ebd025b6004ee7c3e668c4c
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