/* * Copyright (C) 2012 Regents of the University of California * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation, version 2. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. */ #include <linux/init.h> #include <linux/mm.h> #include <linux/bootmem.h> #include <linux/initrd.h> #include <linux/memblock.h> #include <linux/swap.h> #include <linux/sizes.h> #include <asm/tlbflush.h> #include <asm/sections.h> #include <asm/pgtable.h> #include <asm/io.h>
static void __init zone_sizes_init(void) { unsigned long max_zone_pfns[MAX_NR_ZONES] = { 0, }; max_zone_pfns[ZONE_DMA32] = PFN_DOWN(min(4UL * SZ_1G, max_low_pfn)); max_zone_pfns[ZONE_NORMAL] = max_low_pfn; free_area_init_nodes(max_zone_pfns); }Contributors
Person | Tokens | Prop | Commits | CommitProp |
Palmer Dabbelt | 28 | 57.14% | 1 | 50.00% |
Christoph Hellwig | 21 | 42.86% | 1 | 50.00% |
Total | 49 | 100.00% | 2 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Palmer Dabbelt | 20 | 100.00% | 1 | 100.00% |
Total | 20 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Palmer Dabbelt | 17 | 100.00% | 1 | 100.00% |
Total | 17 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Palmer Dabbelt | 44 | 100.00% | 1 | 100.00% |
Total | 44 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Palmer Dabbelt | 12 | 100.00% | 1 | 100.00% |
Total | 12 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Palmer Dabbelt | 12 | 100.00% | 1 | 100.00% |
Total | 12 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Palmer Dabbelt | 170 | 87.63% | 1 | 50.00% |
Christoph Hellwig | 24 | 12.37% | 1 | 50.00% |
Total | 194 | 100.00% | 2 | 100.00% |