/* 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. */
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% |
Roman Zippel | 1 | 5.56% | 1 | 33.33% |
Geert Uytterhoeven | 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% |
Roman Zippel | 1 | 5.56% | 1 | 33.33% |
Geert Uytterhoeven | 1 | 5.56% | 1 | 33.33% |
Total | 18 | 100.00% | 3 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Linus Torvalds (pre-git) | 61 | 58.65% | 2 | 18.18% |
Geert Uytterhoeven | 18 | 17.31% | 4 | 36.36% |
Roman Zippel | 13 | 12.50% | 1 | 9.09% |
Steven King | 9 | 8.65% | 1 | 9.09% |
Greg Ungerer | 1 | 0.96% | 1 | 9.09% |
Greg Kroah-Hartman | 1 | 0.96% | 1 | 9.09% |
Adrian Bunk | 1 | 0.96% | 1 | 9.09% |
Total | 104 | 100.00% | 11 | 100.00% |