Skip to content

Commit

Permalink
mm/highmem.c: clean up endif comments
Browse files Browse the repository at this point in the history
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: Ira Weiny <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Reviewed-by: Andrew Morton <[email protected]>
Reviewed-by: Mike Rapoport <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
weiny2 authored and torvalds committed Oct 16, 2020
1 parent 58f6f03 commit 955cc77
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mm/highmem.c
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ void kunmap_high(struct page *page)
}

EXPORT_SYMBOL(kunmap_high);
#endif
#endif /* CONFIG_HIGHMEM */

#if defined(HASHED_PAGE_VIRTUAL)

Expand Down Expand Up @@ -481,4 +481,4 @@ void __init page_address_init(void)
}
}

#endif /* defined(CONFIG_HIGHMEM) && !defined(WANT_PAGE_VIRTUAL) */
#endif /* defined(HASHED_PAGE_VIRTUAL) */

0 comments on commit 955cc77

Please sign in to comment.