git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
vserver 1.9.5.x5
[linux-2.6.git]
/
arch
/
sparc
/
mm
/
highmem.c
diff --git
a/arch/sparc/mm/highmem.c
b/arch/sparc/mm/highmem.c
index
8f9eb04
..
c85d492
100644
(file)
--- a/
arch/sparc/mm/highmem.c
+++ b/
arch/sparc/mm/highmem.c
@@
-36,7
+36,7
@@
void *kmap_atomic(struct page *page, enum km_type type)
/* even !CONFIG_PREEMPT needs this, for in_atomic in do_page_fault */
inc_preempt_count();
- if (
page < highmem_start_page
)
+ if (
!PageHighMem(page)
)
return page_address(page);
idx = type + KM_TYPE_NR*smp_processor_id();