Loading include/linux/goldfish.h +4 −2 Original line number Diff line number Diff line Loading @@ -9,9 +9,11 @@ static inline void gf_write_ptr(const void *ptr, void __iomem *portl, void __iomem *porth) { writel((u32)(unsigned long)ptr, portl); const uintptr_t addr = (uintptr_t)ptr; writel((u32)addr, portl); #ifdef CONFIG_64BIT writel((unsigned long)ptr >> 32, porth); writel(addr >> 32, porth); #endif } Loading Loading
include/linux/goldfish.h +4 −2 Original line number Diff line number Diff line Loading @@ -9,9 +9,11 @@ static inline void gf_write_ptr(const void *ptr, void __iomem *portl, void __iomem *porth) { writel((u32)(unsigned long)ptr, portl); const uintptr_t addr = (uintptr_t)ptr; writel((u32)addr, portl); #ifdef CONFIG_64BIT writel((unsigned long)ptr >> 32, porth); writel(addr >> 32, porth); #endif } Loading