Commit 955cc774 authored by Ira Weiny's avatar Ira Weiny Committed by Linus Torvalds

mm/highmem.c: clean up endif comments

The #endif at the end of the file matches up with the '#if
defined(HASHED_PAGE_VIRTUAL)' on line 374.  Not the CONFIG_HIGHMEM #if
earlier.

Fix comments on both of the #endif's to indicate the correct end of
blocks for each.
Signed-off-by: default avatarIra Weiny <ira.weiny@intel.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Reviewed-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Reviewed-by: default avatarMike Rapoport <rppt@linux.ibm.com>
Link: https://lkml.kernel.org/r/20200819184635.112579-1-ira.weiny@intel.comSigned-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 58f6f034
...@@ -369,7 +369,7 @@ void kunmap_high(struct page *page) ...@@ -369,7 +369,7 @@ void kunmap_high(struct page *page)
} }
EXPORT_SYMBOL(kunmap_high); EXPORT_SYMBOL(kunmap_high);
#endif #endif /* CONFIG_HIGHMEM */
#if defined(HASHED_PAGE_VIRTUAL) #if defined(HASHED_PAGE_VIRTUAL)
...@@ -481,4 +481,4 @@ void __init page_address_init(void) ...@@ -481,4 +481,4 @@ void __init page_address_init(void)
} }
} }
#endif /* defined(CONFIG_HIGHMEM) && !defined(WANT_PAGE_VIRTUAL) */ #endif /* defined(HASHED_PAGE_VIRTUAL) */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment