/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _ASM_X86_PAGE_64_H #define _ASM_X86_PAGE_64_H #include <asm/page_64_types.h> #ifndef __ASSEMBLY__ #include <asm/alternative.h> /* duplicated to the one in bootmem.h */ extern unsigned long max_pfn; extern unsigned long phys_base;
static inline unsigned long __phys_addr_nodebug(unsigned long x) { unsigned long y = x - __START_KERNEL_map; /* use the carry flag to determine if x was < __START_KERNEL_map */ x = y + ((x > y) ? phys_base : (__START_KERNEL_map - PAGE_OFFSET)); return x; }Contributors
Person | Tokens | Prop | Commits | CommitProp |
Alexander Duyck | 44 | 100.00% | 1 | 100.00% |
Total | 44 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Borislav Petkov | 40 | 100.00% | 1 | 100.00% |
Total | 40 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Alexander Duyck | 139 | 60.43% | 3 | 25.00% |
Borislav Petkov | 60 | 26.09% | 1 | 8.33% |
Tony Luck | 9 | 3.91% | 1 | 8.33% |
Andrew Lutomirski | 9 | 3.91% | 2 | 16.67% |
Andi Kleen | 4 | 1.74% | 1 | 8.33% |
Jeremy Fitzhardinge | 3 | 1.30% | 1 | 8.33% |
H. Peter Anvin | 3 | 1.30% | 1 | 8.33% |
David Woodhouse | 2 | 0.87% | 1 | 8.33% |
Greg Kroah-Hartman | 1 | 0.43% | 1 | 8.33% |
Total | 230 | 100.00% | 12 | 100.00% |