/* SPDX-License-Identifier: GPL-2.0 */ #ifndef __VIRT_CONVERT__ #define __VIRT_CONVERT__ /* * Macros used for converting between virtual and physical mappings. */ #ifdef __KERNEL__ #include <linux/compiler.h> #include <linux/mmzone.h> #include <asm/setup.h> #include <asm/page.h> /* * Change virtual addresses to physical addresses and vv. */ #define virt_to_phys virt_to_phys
static inline unsigned long virt_to_phys(void *address) { return __pa(address); }Contributors
Person | Tokens | Prop | Commits | CommitProp |
Linus Torvalds (pre-git) | 16 | 88.89% | 1 | 33.33% |
Geert Uytterhoeven | 1 | 5.56% | 1 | 33.33% |
Roman Zippel | 1 | 5.56% | 1 | 33.33% |
Total | 18 | 100.00% | 3 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Linus Torvalds (pre-git) | 16 | 88.89% | 1 | 33.33% |
Geert Uytterhoeven | 1 | 5.56% | 1 | 33.33% |
Roman Zippel | 1 | 5.56% | 1 | 33.33% |
Total | 18 | 100.00% | 3 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Linus Torvalds (pre-git) | 61 | 54.46% | 2 | 16.67% |
Geert Uytterhoeven | 18 | 16.07% | 4 | 33.33% |
Roman Zippel | 13 | 11.61% | 1 | 8.33% |
Greg Ungerer | 9 | 8.04% | 2 | 16.67% |
Steven King | 9 | 8.04% | 1 | 8.33% |
Adrian Bunk | 1 | 0.89% | 1 | 8.33% |
Greg Kroah-Hartman | 1 | 0.89% | 1 | 8.33% |
Total | 112 | 100.00% | 12 | 100.00% |