AK: Uh, okay, it seems like we need those 64-bit division helpers after all.

This commit is contained in:
Andreas Kling 2019-03-24 01:19:51 +01:00
parent db6084538f
commit b6cd66c3b5
Notes: sideshowbarker 2024-07-19 14:57:37 +09:00

View File

@ -52,8 +52,6 @@ void* mmx_memcpy(void* dest, const void* src, size_t len)
return dest;
}
#ifdef KERNEL
static inline uint32_t divq(uint64_t n, uint32_t d)
{
uint32_t n1 = n >> 32;
@ -147,6 +145,4 @@ uint64_t __udivmoddi4(uint64_t n, uint64_t d, uint64_t* r)
return q;
}
#endif
}