summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/tasks.py
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2025-03-25 00:06:02 +0300
committerLucas De Marchi <lucas.demarchi@intel.com>2025-04-07 23:16:07 +0300
commitdac2d70bb23f247034dd2e5c1abc6689c684b793 (patch)
treeb6e8b55e1b1ded76be7534a5541cf6cc14b7307f /scripts/gdb/linux/tasks.py
parenta5c71fd5b69b9da77e5e0b268e69e256932ba49c (diff)
downloadlinux-dac2d70bb23f247034dd2e5c1abc6689c684b793.tar.xz
drm/xe: avoid plain 64-bit division
Building the xe driver for i386 results in a link time warning: x86_64-linux-ld: drivers/gpu/drm/xe/xe_migrate.o: in function `xe_migrate_vram': xe_migrate.c:(.text+0x1e15): undefined reference to `__udivdi3' Avoid this by using DIV_U64_ROUND_UP() instead of DIV_ROUND_UP(). The driver is unlikely to be used on 32=bit hardware, so the extra cost here is not too important. Fixes: 9c44fd5f6e8a ("drm/xe: Add migrate layer functions for SVM support") Signed-off-by: Arnd Bergmann <arnd@arndb.de> Link: https://lore.kernel.org/r/20250324210612.2927194-1-arnd@kernel.org Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com> Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com> (cherry picked from commit c9092257506af4985c085103714c403812a5bdcb) Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions