mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
[PATCH] remove HASH_HIGHMEM
It has no users and it's doubtful that we'll need it again. Cc: "David S. Miller" <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
93f210dd9e
commit
0490366432
2 changed files with 2 additions and 3 deletions
|
|
@ -3226,7 +3226,7 @@ void *__init alloc_large_system_hash(const char *tablename,
|
|||
/* allow the kernel cmdline to have a say */
|
||||
if (!numentries) {
|
||||
/* round applicable memory size up to nearest megabyte */
|
||||
numentries = (flags & HASH_HIGHMEM) ? nr_all_pages : nr_kernel_pages;
|
||||
numentries = nr_kernel_pages;
|
||||
numentries += (1UL << (20 - PAGE_SHIFT)) - 1;
|
||||
numentries >>= 20 - PAGE_SHIFT;
|
||||
numentries <<= 20 - PAGE_SHIFT;
|
||||
|
|
|
|||
Loading…
Reference in a new issue