diff options
| author | Dave Hansen <haveblue@us.ibm.com> | 2005-01-04 05:18:21 -0800 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-01-04 05:18:21 -0800 |
| commit | 029922c4dfd59c706ae0f09d050bb9e114097baf (patch) | |
| tree | 6c1fed4336004408a27515fd754e08ad69a84924 /fs/proc/array.c | |
| parent | c46ea0a8c38573cc307489d9bbef7c243792fb53 (diff) | |
[PATCH] kill off highmem_start_page
People love to do comparisons with highmem_start_page. However, where
CONFIG_HIGHMEM=y and there is no actual highmem, there's no real page at
*highmem_start_page.
That's usually not a problem, but CONFIG_NONLINEAR is a bit more strict and
catches the bogus address tranlations.
There are about a gillion different ways to find out of a 'struct page' is
highmem or not. Why not just check page_flags? Just use PageHighMem()
wherever there used to be a highmem_start_page comparison. Then, kill off
highmem_start_page.
This removes more code than it adds, and gets rid of some nasty
#ifdefs in .c files.
Signed-off-by: Dave Hansen <haveblue@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs/proc/array.c')
0 files changed, 0 insertions, 0 deletions
