mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-11 13:27:06 +09:00
Merge tag 'v4.9.290' of git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable into odroidg12-4.9.y
This is the 4.9.290 stable release Change-Id: Ib4889d4db19821476912824b74d2fea68a9cfe96
This commit is contained in:
@@ -847,6 +847,19 @@ static inline bool arch_has_pfn_modify_check(void)
|
||||
#define io_remap_pfn_range remap_pfn_range
|
||||
#endif
|
||||
|
||||
#if !defined(MAX_POSSIBLE_PHYSMEM_BITS) && !defined(CONFIG_64BIT)
|
||||
#ifdef CONFIG_PHYS_ADDR_T_64BIT
|
||||
/*
|
||||
* ZSMALLOC needs to know the highest PFN on 32-bit architectures
|
||||
* with physical address space extension, but falls back to
|
||||
* BITS_PER_LONG otherwise.
|
||||
*/
|
||||
#error Missing MAX_POSSIBLE_PHYSMEM_BITS definition
|
||||
#else
|
||||
#define MAX_POSSIBLE_PHYSMEM_BITS 32
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifndef has_transparent_hugepage
|
||||
#ifdef CONFIG_TRANSPARENT_HUGEPAGE
|
||||
#define has_transparent_hugepage() 1
|
||||
|
||||
Reference in New Issue
Block a user