Home
last modified time | relevance | path

Searched refs:MAXMEM_PFN (Results 1 – 2 of 2) sorted by relevance

/linux-2.4.37.9/arch/mips/kernel/
Dsetup.c241 #define MAXMEM_PFN PFN_DOWN(MAXMEM) macro
301 if (max_low_pfn > MAXMEM_PFN) { in bootmem_init()
302 max_low_pfn = MAXMEM_PFN; in bootmem_init()
317 if (max_pfn > MAXMEM_PFN) { in bootmem_init()
318 highstart_pfn = MAXMEM_PFN; in bootmem_init()
461 #undef MAXMEM_PFN
/linux-2.4.37.9/arch/i386/kernel/
Dsetup.c921 #define MAXMEM_PFN PFN_DOWN(MAXMEM) macro
954 if (max_low_pfn > MAXMEM_PFN) { in find_max_low_pfn()
956 highmem_pages = max_pfn - MAXMEM_PFN; in find_max_low_pfn()
957 if (highmem_pages + MAXMEM_PFN < max_pfn) in find_max_low_pfn()
958 max_pfn = MAXMEM_PFN + highmem_pages; in find_max_low_pfn()
959 if (highmem_pages + MAXMEM_PFN > max_pfn) { in find_max_low_pfn()
960 …es available, ignoring highmem size of %uMB.\n", pages_to_mb(max_pfn - MAXMEM_PFN), pages_to_mb(hi… in find_max_low_pfn()
963 max_low_pfn = MAXMEM_PFN; in find_max_low_pfn()