#include <sys/device.h>
#include <sys/param.h>
#include <sys/proc.h>
-#include <linux/slab.h>
#include <linux/ioport.h>
#include <linux/lockdep.h>
#include <linux/pm.h>
#include <linux/wait_bit.h>
#include <linux/err.h>
#include <linux/sched/signal.h> /* via percpu-rwsem.h -> rcuwait.h */
+#include <linux/slab.h>
struct address_space;
struct seq_file;
#include <linux/kallsyms.h>
#include <linux/interrupt.h> /* via trace_recursion.h */
+#include <linux/fs.h>
#endif
#include <sys/types.h>
#include <sys/timeout.h>
-#include <linux/ktime.h>
#include <linux/rbtree.h>
enum hrtimer_restart { HRTIMER_NORESTART, HRTIMER_RESTART };
-/* $OpenBSD: i2c.h,v 1.7 2023/01/01 01:34:58 jsg Exp $ */
+/* $OpenBSD: i2c.h,v 1.8 2023/03/21 09:44:35 jsg Exp $ */
/*
* Copyright (c) 2017 Mark Kettenis
*
#include <sys/stdint.h>
#include <sys/rwlock.h>
-#include <linux/workqueue.h>
+/*
+ * normally seq_file.h is indirectly included via
+ *
+ * linux/regulator/consumer.h
+ * linux/suspend.h
+ * linux/swap.h
+ * linux/memcontrol.h
+ * linux/cgroup.h
+ * linux/seq_file.h
+ */
#include <linux/seq_file.h>
#include <linux/acpi.h>
#include <linux/device.h>
#include <linux/hardirq.h>
#include <linux/irqflags.h>
#include <linux/atomic.h>
-#include <linux/compiler.h>
#include <linux/irqreturn.h>
+struct seq_file;
+
#define IRQF_SHARED 0
#define request_irq(irq, hdlr, flags, name, dev) (0)
#ifndef _LINUX_IO_MAPPING_H
#define _LINUX_IO_MAPPING_H
-#include <linux/bitmap.h>
-
#endif
#include <linux/types.h>
#include <linux/atomic.h>
#include <linux/compiler.h>
-#include <linux/vmalloc.h>
+#include <linux/vmalloc.h> /* via asm/io.h */
#define memcpy_toio(d, s, n) memcpy(d, s, n)
#define memcpy_fromio(d, s, n) memcpy(d, s, n)
#include <sys/types.h>
#include <sys/systm.h>
+#include <linux/ftrace.h> /* via linux/kprobes.h */
static inline int
in_dbg_master(void)
-/* $OpenBSD: kref.h,v 1.5 2023/01/01 01:34:58 jsg Exp $ */
+/* $OpenBSD: kref.h,v 1.6 2023/03/21 09:44:35 jsg Exp $ */
/*
* Copyright (c) 2015 Mark Kettenis
*
#include <sys/types.h>
#include <sys/rwlock.h>
-#include <sys/atomic.h>
-#include <linux/atomic.h>
-#include <linux/compiler.h>
#include <linux/refcount.h>
#include <linux/spinlock.h>
#include <machine/cpu.h>
#include <uvm/uvm_extern.h>
#include <uvm/uvm_glue.h>
-#include <linux/fs.h>
+#include <lib/libkern/libkern.h> /* for flsl */
#include <linux/shrinker.h>
#include <linux/overflow.h>
-#include <asm/pgtable.h>
+#include <linux/pgtable.h>
#define PageHighMem(x) 0
#include <linux/ftrace.h>
#include <linux/file.h> /* via security.h -> kernel_read_file.h */
+#include <linux/seq_file.h> /* via linux/cgroup.h */
struct pmu {
};
-/* $OpenBSD: sched.h,v 1.4 2021/07/07 02:38:36 jsg Exp $ */
+/* $OpenBSD: sched.h,v 1.5 2023/03/21 09:44:35 jsg Exp $ */
/*
* Copyright (c) 2013, 2014, 2015 Mark Kettenis
*
#include <sys/kernel.h>
#include <sys/stdint.h>
#include <sys/mutex.h>
-#include <linux/wait.h>
#include <linux/hrtimer.h>
#include <linux/sem.h>
#include <linux/bug.h>
#include <linux/string.h>
+#include <linux/fs.h>
struct seq_file {
};
/*
* normally clock.h would be indirectly included via
*
- * linux/swap.h
* linux/memcontrol.h
* linux/writeback.h
* linux/blk-cgroup.h
/*
* normally module.h would be indirectly included via
- * linux/swap.h
+ *
* linux/memcontrol.h
* linux/cgroup.h
* linux/cgroup-defs.h
-/* $OpenBSD: vmalloc.h,v 1.4 2021/07/07 02:38:36 jsg Exp $ */
+/* $OpenBSD: vmalloc.h,v 1.5 2023/03/21 09:44:35 jsg Exp $ */
/*
* Copyright (c) 2013, 2014, 2015 Mark Kettenis
*
#include <sys/types.h>
#include <sys/malloc.h>
#include <uvm/uvm_extern.h>
-#include <linux/types.h>
#include <linux/overflow.h>
void *vmap(struct vm_page **, unsigned int, unsigned long, pgprot_t);
-/* $OpenBSD: workqueue.h,v 1.9 2023/01/01 01:34:58 jsg Exp $ */
+/* $OpenBSD: workqueue.h,v 1.10 2023/03/21 09:44:35 jsg Exp $ */
/*
* Copyright (c) 2015 Mark Kettenis
*
#include <linux/bitops.h>
#include <linux/atomic.h>
#include <linux/rcupdate.h>
-#include <linux/kernel.h>
#include <linux/lockdep.h>
#include <linux/timer.h>
#include <sys/param.h>
#include <sys/mutex.h>
#include <machine/intr.h>
-#include <linux/compiler.h>
#include <linux/mutex.h>
struct ww_class {