summaryrefslogtreecommitdiff
path: root/arch/sparc/mm/highmem.c
diff options
context:
space:
mode:
authorSam Ravnborg <sam@ravnborg.org>2012-07-26 11:02:19 (GMT)
committerDavid S. Miller <davem@davemloft.net>2012-07-26 23:46:16 (GMT)
commit1b6d06d820df6822416270f46af57f5964137b42 (patch)
tree1926a167a284fb84620fca94226a8141f96e5df7 /arch/sparc/mm/highmem.c
parentc00db32122e17120eb87d0f1f6723c1c4740fa78 (diff)
downloadlinux-1b6d06d820df6822416270f46af57f5964137b42.tar.xz
sparc32: drop fixmap.h
sparc32 does not support fixmaps - so do not pretend so by having the fixmap.h file. Move relevant parts to vaddrs.h. I looked at simplifying this even more but failed to understand the reasoning behind the extra guard page involved and due to missing testing possibilities only the trivial conversion was done. Signed-off-by: Sam Ravnborg <sam@ravnborg.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/mm/highmem.c')
-rw-r--r--arch/sparc/mm/highmem.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/arch/sparc/mm/highmem.c b/arch/sparc/mm/highmem.c
index 856432a..4d5f8b3 100644
--- a/arch/sparc/mm/highmem.c
+++ b/arch/sparc/mm/highmem.c
@@ -22,13 +22,14 @@
* shared by CPUs, and so precious, and establishing them requires IPI.
* Atomic kmaps are lightweight and we may have NCPUS more of them.
*/
-#include <linux/mm.h>
#include <linux/highmem.h>
#include <linux/export.h>
-#include <asm/pgalloc.h>
+#include <linux/mm.h>
+
#include <asm/cacheflush.h>
#include <asm/tlbflush.h>
-#include <asm/fixmap.h>
+#include <asm/pgalloc.h>
+#include <asm/vaddrs.h>
void *kmap_atomic(struct page *page)
{