kernel/mm/highmem.c
.. .. @@ -30,9 +30,10 @@ 30 30 #include <linux/kgdb.h> 31 31 #include <asm/tlbflush.h> 32 32 33 -33 +#ifndef CONFIG_PREEMPT_RT_FULL34 34 #if defined(CONFIG_HIGHMEM) || defined(CONFIG_X86_32) 35 35 DEFINE_PER_CPU(int, __kmap_atomic_idx); 36 +#endif36 37 #endif 37 38 38 39 /* .. .. @@ -108,8 +109,9 @@ 108 109 unsigned long totalhigh_pages __read_mostly; 109 110 EXPORT_SYMBOL(totalhigh_pages); 110 111 111 -112 +#ifndef CONFIG_PREEMPT_RT_FULL112 113 EXPORT_PER_CPU_SYMBOL(__kmap_atomic_idx); 114 +#endif113 115 114 116 unsigned int nr_free_highpages (void) 115 117 {