1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 04:07:44 +00:00

Kernel: Remove read_tsc() syscall

Since nothing is using this, let's just remove it. That's one less
thing to worry about.
This commit is contained in:
Andreas Kling 2020-01-03 09:27:09 +01:00
parent 23e4e03233
commit 24cc67d199
5 changed files with 1 additions and 21 deletions

View file

@ -439,12 +439,6 @@ void sync()
syscall(SC_sync);
}
int read_tsc(unsigned* lsw, unsigned* msw)
{
int rc = syscall(SC_read_tsc, lsw, msw);
__RETURN_WITH_ERRNO(rc, rc, -1);
}
int create_shared_buffer(int size, void** buffer)
{
int rc = syscall(SC_create_shared_buffer, size, buffer);