#ifndef _ASM_X86_PAGE_64_H #define _ASM_X86_PAGE_64_H #include <asm/page_64_types.h> #ifndef __ASSEMBLY__ /* 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 |
Alexander Duyck | 140 | 86.96% | 3 | 33.33% |
Andrew Lutomirski | 9 | 5.59% | 2 | 22.22% |
Andi Kleen | 4 | 2.48% | 1 | 11.11% |
H. Peter Anvin | 3 | 1.86% | 1 | 11.11% |
Jeremy Fitzhardinge | 3 | 1.86% | 1 | 11.11% |
David Woodhouse | 2 | 1.24% | 1 | 11.11% |
Total | 161 | 100.00% | 9 | 100.00% |