Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

tools/include: Add phys_addr_t to types.h

Update types.h file to include phys_addr_t typedef so it can
be used in testing.

Signed-off-by: Karolina Drobnik <karolinadrobnik@gmail.com>
Signed-off-by: Mike Rapoport <rppt@kernel.org>
Link: https://lore.kernel.org/r/f0b42be7d1fe2eb9cd299532676d9df2df9ef089.1643796665.git.karolinadrobnik@gmail.com

authored by

Karolina Drobnik and committed by
Mike Rapoport
884ee1e5 aa0eab86

+6
+6
tools/include/linux/types.h
··· 64 64 typedef __u16 __bitwise __sum16; 65 65 typedef __u32 __bitwise __wsum; 66 66 67 + #ifdef CONFIG_PHYS_ADDR_T_64BIT 68 + typedef u64 phys_addr_t; 69 + #else 70 + typedef u32 phys_addr_t; 71 + #endif 72 + 67 73 typedef struct { 68 74 int counter; 69 75 } atomic_t;