]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - mm/highmem.c
xps: Transmit Packet Steering
[net-next-2.6.git] / mm / highmem.c
index 781e754a75ac973b15921a7c38c9e62f7a8bad66..693394daa2ed79439d4210c7f5c0bd345ff3692b 100644 (file)
 #include <linux/kgdb.h>
 #include <asm/tlbflush.h>
 
+
+#if defined(CONFIG_HIGHMEM) || defined(CONFIG_X86_32)
+DEFINE_PER_CPU(int, __kmap_atomic_idx);
+#endif
+
 /*
  * Virtual_count is not a pure "count".
  *  0 means that it is not mapped, and has not been mapped
@@ -43,7 +48,6 @@ unsigned long totalhigh_pages __read_mostly;
 EXPORT_SYMBOL(totalhigh_pages);
 
 
-DEFINE_PER_CPU(int, __kmap_atomic_idx);
 EXPORT_PER_CPU_SYMBOL(__kmap_atomic_idx);
 
 unsigned int nr_free_highpages (void)