/* * 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; either version * 2 of the License, or (at your option) any later version. */ #ifndef _ASM_POWERPC_MMAN_H #define _ASM_POWERPC_MMAN_H #include <uapi/asm/mman.h> #ifdef CONFIG_PPC64 #include <asm/cputable.h> #include <linux/mm.h> #include <linux/pkeys.h> #include <asm/cpu_has_feature.h> /* * This file is included by linux/mman.h, so we can't use cacl_vm_prot_bits() * here. How important is the optimization? */
static inline unsigned long arch_calc_vm_prot_bits(unsigned long prot, unsigned long pkey) { #ifdef CONFIG_PPC_MEM_KEYS return (((prot & PROT_SAO) ? VM_SAO : 0) | pkey_to_vmflag_bits(pkey)); #else return ((prot & PROT_SAO) ? VM_SAO : 0); #endif }Contributors
Person | Tokens | Prop | Commits | CommitProp |
Ram Pai | 29 | 51.79% | 1 | 33.33% |
Dave Kleikamp | 23 | 41.07% | 1 | 33.33% |
Dave Hansen | 4 | 7.14% | 1 | 33.33% |
Total | 56 | 100.00% | 3 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Ram Pai | 34 | 54.84% | 1 | 33.33% |
Dave Kleikamp | 25 | 40.32% | 1 | 33.33% |
David Gibson | 3 | 4.84% | 1 | 33.33% |
Total | 62 | 100.00% | 3 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Dave Kleikamp | 47 | 92.16% | 1 | 50.00% |
Chen Gang S | 4 | 7.84% | 1 | 50.00% |
Total | 51 | 100.00% | 2 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Dave Kleikamp | 120 | 53.57% | 1 | 8.33% |
Ram Pai | 66 | 29.46% | 2 | 16.67% |
Stephen Rothwell | 8 | 3.57% | 1 | 8.33% |
Dave Hansen | 7 | 3.12% | 1 | 8.33% |
Anton Blanchard | 6 | 2.68% | 1 | 8.33% |
Chen Gang S | 4 | 1.79% | 1 | 8.33% |
David Gibson | 3 | 1.34% | 1 | 8.33% |
Kevin Hao | 3 | 1.34% | 1 | 8.33% |
Jon Loeliger | 3 | 1.34% | 1 | 8.33% |
David Howells | 2 | 0.89% | 1 | 8.33% |
Michael S. Tsirkin | 2 | 0.89% | 1 | 8.33% |
Total | 224 | 100.00% | 12 | 100.00% |