diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2020-11-03 12:27:20 +0300 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2020-11-07 01:14:55 +0300 |
commit | 157e118b55113d1e6c7f8ddfcec0a1dbf3a69511 (patch) | |
tree | bb8cbaddde204f3f9839c95b1f7f30869fd895f4 /mm/highmem.c | |
parent | 389755c250814185938f5b04334a4f0184c30647 (diff) | |
download | linux-157e118b55113d1e6c7f8ddfcec0a1dbf3a69511.tar.xz |
x86/mm/highmem: Use generic kmap atomic implementation
Convert X86 to the generic kmap atomic implementation and make the
iomap_atomic() naming convention consistent while at it.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/r/20201103095857.375127260@linutronix.de
Diffstat (limited to 'mm/highmem.c')
-rw-r--r-- | mm/highmem.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/highmem.c b/mm/highmem.c index 67d2d5983cb0..77677c6844f7 100644 --- a/mm/highmem.c +++ b/mm/highmem.c @@ -32,7 +32,7 @@ #include <linux/vmalloc.h> #ifndef CONFIG_KMAP_LOCAL -#if defined(CONFIG_HIGHMEM) || defined(CONFIG_X86_32) +#ifdef CONFIG_HIGHMEM DEFINE_PER_CPU(int, __kmap_atomic_idx); #endif #endif |