diff options
| author | Toshi Kani <[email protected]> | 2015-09-17 18:24:18 +0000 |
|---|---|---|
| committer | Thomas Gleixner <[email protected]> | 2015-09-22 19:27:32 +0000 |
| commit | bbac8c6deadab921f4b7d00ce675ffa4f358ec7f (patch) | |
| tree | e0eb5e5a74ce093bfafbe4e2ff4f9bbb7dc858cf /drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c | |
| parent | x86/asm: Fix pud/pmd interfaces to handle large PAT bit (diff) | |
| download | kernel-bbac8c6deadab921f4b7d00ce675ffa4f358ec7f.tar.gz kernel-bbac8c6deadab921f4b7d00ce675ffa4f358ec7f.zip | |
x86/asm: Add pud_pgprot() and pmd_pgprot()
pte_pgprot() returns a pgprot_t value by calling pte_flags(). Now
that pud_flags() and pmd_flags() work specifically for the pud/pmd
levels, define pud_pgprot() and pmd_pgprot() for PUD/PMD.
Also update pte_pgprot() to remove the unnecessary mask with
PTE_FLAGS_MASK as pte_flags() takes care of it.
Signed-off-by: Toshi Kani <[email protected]>
Cc: Andrew Morton <[email protected]>
Cc: Juergen Gross <[email protected]>
Cc: H. Peter Anvin <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Borislav Petkov <[email protected]>
Cc: Konrad Wilk <[email protected]>
Cc: Robert Elliot <[email protected]>
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Thomas Gleixner <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c')
0 files changed, 0 insertions, 0 deletions
