Am 01.06.23 um 17:16 schrieb Christoph Hellwig: > __KERNEL_SYSCALLS__ hasn't been needed since Linux 2.6.19 so stop > defining it. > > Signed-off-by: Christoph Hellwig <hch@xxxxxx> > --- > drivers/block/drbd/drbd_main.c | 1 - > drivers/block/drbd/drbd_receiver.c | 1 - > 2 files changed, 2 deletions(-) > > diff --git a/drivers/block/drbd/drbd_main.c b/drivers/block/drbd/drbd_main.c > index 83987e7a5ef275..54223f64610a05 100644 > --- a/drivers/block/drbd/drbd_main.c > +++ b/drivers/block/drbd/drbd_main.c > @@ -37,7 +37,6 @@ > #include <linux/notifier.h> > #include <linux/kthread.h> > #include <linux/workqueue.h> > -#define __KERNEL_SYSCALLS__ > #include <linux/unistd.h> > #include <linux/vmalloc.h> > #include <linux/sched/signal.h> > diff --git a/drivers/block/drbd/drbd_receiver.c b/drivers/block/drbd/drbd_receiver.c > index 8c2bc47de4735e..0c9f54197768d6 100644 > --- a/drivers/block/drbd/drbd_receiver.c > +++ b/drivers/block/drbd/drbd_receiver.c > @@ -27,7 +27,6 @@ > #include <uapi/linux/sched/types.h> > #include <linux/sched/signal.h> > #include <linux/pkt_sched.h> > -#define __KERNEL_SYSCALLS__ > #include <linux/unistd.h> > #include <linux/vmalloc.h> > #include <linux/random.h> Looks right. Reviewed-by: Christoph Böhmwalder <christoph.boehmwalder@xxxxxxxxxx> -- Christoph Böhmwalder LINBIT | Keeping the Digital World Running DRBD HA — Disaster Recovery — Software defined Storage