Thread (50 messages) 50 messages, 8 authors, 2022-09-22

Re: [PATCH v2 10/10] drm/ofdrm: Support color management

From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Date: 2022-08-05 01:10:22
Also in: dri-devel, linuxppc-dev

On Wed, 2022-07-20 at 16:27 +0200, Thomas Zimmermann wrote:
+#if !defined(CONFIG_PPC)
+static inline void out_8(void __iomem *addr, int val)
+{ }
+static inline void out_le32(void __iomem *addr, int val)
+{ }
+static inline unsigned int in_le32(const void __iomem *addr)
+{
+       return 0;
+}
+#endif
These guys could just be replaced with readb/writel/readl respectively
(beware of the argument swap).

Cheers,
Ben.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help