Page MenuHomeFreeBSD

D1075.diff
No OneTemporary

D1075.diff

Index: head/sys/compat/linux/linux_common.c
===================================================================
--- head/sys/compat/linux/linux_common.c
+++ head/sys/compat/linux/linux_common.c
@@ -35,11 +35,15 @@
#include <sys/kernel.h>
#include <sys/malloc.h>
#include <sys/eventhandler.h>
+#include <sys/sysctl.h>
#include <compat/linux/linux_emul.h>
#include <compat/linux/linux_mib.h>
#include <compat/linux/linux_util.h>
+FEATURE(linuxulator_v4l, "V4L ioctl wrapper support in the linuxulator");
+FEATURE(linuxulator_v4l2, "V4L2 ioctl wrapper support in the linuxulator");
+
MODULE_VERSION(linux_common, 1);
SET_DECLARE(linux_device_handler_set, struct linux_device_handler);
Index: head/sys/compat/linux/linux_ioctl.c
===================================================================
--- head/sys/compat/linux/linux_ioctl.c
+++ head/sys/compat/linux/linux_ioctl.c
@@ -95,9 +95,6 @@
CTASSERT(LINUX_IFNAMSIZ == IFNAMSIZ);
-FEATURE(linuxulator_v4l, "V4L ioctl wrapper support in the linuxulator");
-FEATURE(linuxulator_v4l2, "V4L2 ioctl wrapper support in the linuxulator");
-
static linux_ioctl_function_t linux_ioctl_cdrom;
static linux_ioctl_function_t linux_ioctl_vfat;
static linux_ioctl_function_t linux_ioctl_console;

File Metadata

Mime Type
text/plain
Expires
Fri, Dec 20, 5:00 PM (17 h, 45 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15531834
Default Alt Text
D1075.diff (1 KB)

Event Timeline