pgtable.h (73cf7e111ed69d8e1b59a3ae41b14bc77215e9ee) pgtable.h (51a0048beb449682d632d0af52a515adb9f9882e)
1/*
2 * Copyright (C) 2012 ARM Ltd.
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
7 *
8 * This program is distributed in the hope that it will be useful,

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

675 unsigned long address, pmd_t *pmdp)
676{
677 ptep_set_wrprotect(mm, address, (pte_t *)pmdp);
678}
679#endif
680
681extern pgd_t swapper_pg_dir[PTRS_PER_PGD];
682extern pgd_t idmap_pg_dir[PTRS_PER_PGD];
1/*
2 * Copyright (C) 2012 ARM Ltd.
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
7 *
8 * This program is distributed in the hope that it will be useful,

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

675 unsigned long address, pmd_t *pmdp)
676{
677 ptep_set_wrprotect(mm, address, (pte_t *)pmdp);
678}
679#endif
680
681extern pgd_t swapper_pg_dir[PTRS_PER_PGD];
682extern pgd_t idmap_pg_dir[PTRS_PER_PGD];
683extern pgd_t tramp_pg_dir[PTRS_PER_PGD];
683
684/*
685 * Encode and decode a swap entry:
686 * bits 0-1: present (must be zero)
687 * bits 2-7: swap type
688 * bits 8-57: swap offset
689 * bit 58: PTE_PROT_NONE (must be zero)
690 */

--- 48 unchanged lines hidden ---
684
685/*
686 * Encode and decode a swap entry:
687 * bits 0-1: present (must be zero)
688 * bits 2-7: swap type
689 * bits 8-57: swap offset
690 * bit 58: PTE_PROT_NONE (must be zero)
691 */

--- 48 unchanged lines hidden ---