-/* SPDX-License-Identifier: (GPL-2.0 or LGPL-2.1)
+/* SPDX-License-Identifier: (GPL-2.0-only or LGPL-2.1-only)
*
* lttng-probe-user.c
*
#include <linux/uaccess.h>
#include <linux/module.h>
-#include <probes/lttng-probe-user.h>
+#include <wrapper/uaccess.h>
+#include <lttng/probe-user.h>
/*
* Calculate string length. Include final null terminating character if there is
char v;
unsigned long ret;
- if (unlikely(!access_ok(VERIFY_READ,
+ if (unlikely(!lttng_access_ok(VERIFY_READ,
(__force const char __user *) addr,
sizeof(v))))
break;