]> git.baikalelectronics.ru Git - kernel.git/commit
mm,x86: fix kmap_atomic_push vs ioremap_32.c
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Wed, 27 Oct 2010 22:32:57 +0000 (15:32 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 28 Oct 2010 01:03:05 +0000 (18:03 -0700)
commit1a6b0aeda3d533358b9b26a83e6e8ba491315e1b
treedf0cf7cfe8d8600563a96cb5426de69759165e52
parent227b5623365884d6675c56b7a749431c1c22174b
mm,x86: fix kmap_atomic_push vs ioremap_32.c

It appears i386 uses kmap_atomic infrastructure regardless of
CONFIG_HIGHMEM which results in a compile error when highmem is disabled.

Cure this by providing the needed few bits for both CONFIG_HIGHMEM and
CONFIG_X86_32.

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Reported-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/highmem.h
mm/highmem.c