summaryrefslogtreecommitdiff
path: root/AK/StdLibExtras.cpp
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-03-24 01:19:51 +0100
committerAndreas Kling <awesomekling@gmail.com>2019-03-24 01:19:51 +0100
commitb6cd66c3b593d64e648b5afc1755ef8e98590cd0 (patch)
treee9d1e7ae818eac232ba4ce90508b1f421c2d35f3 /AK/StdLibExtras.cpp
parentdb6084538f7d8db19eb91a88e3247dfaf9f27ec2 (diff)
downloadserenity-b6cd66c3b593d64e648b5afc1755ef8e98590cd0.zip
AK: Uh, okay, it seems like we need those 64-bit division helpers after all.
Diffstat (limited to 'AK/StdLibExtras.cpp')
-rw-r--r--AK/StdLibExtras.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/AK/StdLibExtras.cpp b/AK/StdLibExtras.cpp
index de969dc2bb..164c2b5ee8 100644
--- a/AK/StdLibExtras.cpp
+++ b/AK/StdLibExtras.cpp
@@ -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
-
}