aboutsummaryrefslogtreecommitdiff
path: root/sys/arm64/linux
diff options
context:
space:
mode:
authorDmitry Chagin <dchagin@FreeBSD.org>2023-09-05 18:16:39 +0000
committerDmitry Chagin <dchagin@FreeBSD.org>2023-09-05 18:16:39 +0000
commit2a1cf1b6b55c8326bbe85d0fdf17b0f2fb9b34ce (patch)
tree61b794cfc4930130303736abbfefd60d6e812530 /sys/arm64/linux
parent553b1a4e4eb426d2c29a033b284c13bfbab30334 (diff)
Diffstat (limited to 'sys/arm64/linux')
-rw-r--r--sys/arm64/linux/linux_machdep.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/sys/arm64/linux/linux_machdep.c b/sys/arm64/linux/linux_machdep.c
index b9548387315b..3ba5683941b5 100644
--- a/sys/arm64/linux/linux_machdep.c
+++ b/sys/arm64/linux/linux_machdep.c
@@ -32,25 +32,17 @@
#include <sys/proc.h>
#include <sys/ptrace.h>
#include <sys/reg.h>
-#include <sys/sdt.h>
#include <vm/vm_param.h>
#include <arm64/linux/linux.h>
#include <arm64/linux/linux_proto.h>
-#include <compat/linux/linux_dtrace.h>
#include <compat/linux/linux_fork.h>
#include <compat/linux/linux_misc.h>
-#include <compat/linux/linux_mmap.h>
#include <compat/linux/linux_util.h>
#define LINUX_ARCH_AARCH64 0xc00000b7
-/* DTrace init */
-LIN_SDT_PROVIDER_DECLARE(LINUX_DTRACE);
-
-/* DTrace probes */
-LIN_SDT_PROBE_DEFINE0(machdep, linux_mmap2, todo);
int
linux_set_upcall(struct thread *td, register_t stack)
@@ -67,16 +59,6 @@ linux_set_upcall(struct thread *td, register_t stack)
return (0);
}
-/* LINUXTODO: deduplicate arm64 linux_mmap2 */
-int
-linux_mmap2(struct thread *td, struct linux_mmap2_args *uap)
-{
-
- LIN_SDT_PROBE0(machdep, linux_mmap2, todo);
- return (linux_mmap_common(td, PTROUT(uap->addr), uap->len, uap->prot,
- uap->flags, uap->fd, uap->pgoff));
-}
-
int
linux_set_cloned_tls(struct thread *td, void *desc)
{