mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-20 09:49:15 +03:00
AK: Uh, okay, it seems like we need those 64-bit division helpers after all.
This commit is contained in:
parent
db6084538f
commit
b6cd66c3b5
Notes:
sideshowbarker
2024-07-19 14:57:37 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/b6cd66c3b59
@ -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
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user