pgd.c (e5451c8f8330e03ad3cfa16048b4daf961af434f) pgd.c (3ed3a4f0ddffece942bb2661924d87be4ce63cb7)
1/*
2 * linux/arch/arm/mm/pgd.c
3 *
4 * Copyright (C) 1998-2005 Russell King
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.

--- 66 unchanged lines hidden (view full) ---

75 new_pud = pud_alloc(mm, new_pgd, 0);
76 if (!new_pud)
77 goto no_pud;
78
79 new_pmd = pmd_alloc(mm, new_pud, 0);
80 if (!new_pmd)
81 goto no_pmd;
82
1/*
2 * linux/arch/arm/mm/pgd.c
3 *
4 * Copyright (C) 1998-2005 Russell King
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.

--- 66 unchanged lines hidden (view full) ---

75 new_pud = pud_alloc(mm, new_pgd, 0);
76 if (!new_pud)
77 goto no_pud;
78
79 new_pmd = pmd_alloc(mm, new_pud, 0);
80 if (!new_pmd)
81 goto no_pmd;
82
83 new_pte = pte_alloc_map(mm, NULL, new_pmd, 0);
83 new_pte = pte_alloc_map(mm, new_pmd, 0);
84 if (!new_pte)
85 goto no_pte;
86
87#ifndef CONFIG_ARM_LPAE
88 /*
89 * Modify the PTE pointer to have the correct domain. This
90 * needs to be the vectors domain to avoid the low vectors
91 * being unmapped.

--- 83 unchanged lines hidden ---
84 if (!new_pte)
85 goto no_pte;
86
87#ifndef CONFIG_ARM_LPAE
88 /*
89 * Modify the PTE pointer to have the correct domain. This
90 * needs to be the vectors domain to avoid the low vectors
91 * being unmapped.

--- 83 unchanged lines hidden ---