X-Git-Url: http://git.monstr.eu/?a=blobdiff_plain;f=mm%2Fhighmem.c;h=6ef8f5e05e7e5db835337728cd9f57e1f3d98f77;hb=f7efc4799f8114ba85b68584f83293f435009de4;hp=86f2b9495f9cfd3f30127e8a452f6c1e182511d9;hpb=35d8c39d0e52f5230716f61910881b309e4b1a04;p=linux-2.6-microblaze.git diff --git a/mm/highmem.c b/mm/highmem.c index 86f2b9495f9c..6ef8f5e05e7e 100644 --- a/mm/highmem.c +++ b/mm/highmem.c @@ -618,7 +618,7 @@ void __kmap_local_sched_out(void) int idx; /* With debug all even slots are unmapped and act as guard */ - if (IS_ENABLED(CONFIG_DEBUG_HIGHMEM) && !(i & 0x01)) { + if (IS_ENABLED(CONFIG_DEBUG_KMAP_LOCAL) && !(i & 0x01)) { WARN_ON_ONCE(!pte_none(pteval)); continue; } @@ -654,7 +654,7 @@ void __kmap_local_sched_in(void) int idx; /* With debug all even slots are unmapped and act as guard */ - if (IS_ENABLED(CONFIG_DEBUG_HIGHMEM) && !(i & 0x01)) { + if (IS_ENABLED(CONFIG_DEBUG_KMAP_LOCAL) && !(i & 0x01)) { WARN_ON_ONCE(!pte_none(pteval)); continue; }