Displaying 1 result from an estimated 1 matches for "cdacfe1f732c".
2019 May 23
2
[RFC][PATCH] kernel.h: Add generic roundup_64() macro
...a 64 bit number on a 32 bit machine.
Link: http://lkml.kernel.org/r/20190522145450.25ff483d at gandalf.local.home
Signed-off-by: Steven Rostedt (VMware) <rostedt at goodmis.org>
---
diff --git a/drivers/gpu/drm/nouveau/nouveau_bo.c b/drivers/gpu/drm/nouveau/nouveau_bo.c
index 34a998012bf6..cdacfe1f732c 100644
--- a/drivers/gpu/drm/nouveau/nouveau_bo.c
+++ b/drivers/gpu/drm/nouveau/nouveau_bo.c
@@ -143,14 +143,6 @@ nouveau_bo_del_ttm(struct ttm_buffer_object *bo)
kfree(nvbo);
}
-static inline u64
-roundup_64(u64 x, u32 y)
-{
- x += y - 1;
- do_div(x, y);
- return x * y;
-}
-
static void
nou...