[Nouveau] [PATCH 5/5] nv50: inline linear wfb functions
Maarten Maathuis
madman2003 at gmail.com
Sun Mar 8 07:31:54 PDT 2009
---
src/nouveau_exa.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/nouveau_exa.c b/src/nouveau_exa.c
index 2d748e1..4b82d21 100644
--- a/src/nouveau_exa.c
+++ b/src/nouveau_exa.c
@@ -687,7 +687,7 @@ nouveau_exa_init(ScreenPtr pScreen)
/* WFB functions. */
-static FbBits
+static inline FbBits
nouveau_exa_wfb_read_memory_linear(const void *src, int size)
{
FbBits bits = 0;
@@ -697,7 +697,7 @@ nouveau_exa_wfb_read_memory_linear(const void *src, int size)
return bits;
}
-static void
+static inline void
nouveau_exa_wfb_write_memory_linear(void *dst, FbBits value, int size)
{
memcpy(dst, &value, size);
--
1.6.2
More information about the Nouveau
mailing list