Module Name: src
Committed By: martin
Date: Sun Feb 6 12:12:08 UTC 2022
Modified Files:
src/sys/external/bsd/vchiq/dist/interface/compat: vchi_bsd.h
Log Message:
vchiq(4): Fix llvm build with only one loff_t definition.
Author: Taylor R Campbell <[email protected]>
To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 \
src/sys/external/bsd/vchiq/dist/interface/compat/vchi_bsd.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/external/bsd/vchiq/dist/interface/compat/vchi_bsd.h
diff -u src/sys/external/bsd/vchiq/dist/interface/compat/vchi_bsd.h:1.18 src/sys/external/bsd/vchiq/dist/interface/compat/vchi_bsd.h:1.19
--- src/sys/external/bsd/vchiq/dist/interface/compat/vchi_bsd.h:1.18 Sun Dec 19 11:26:04 2021
+++ src/sys/external/bsd/vchiq/dist/interface/compat/vchi_bsd.h Sun Feb 6 12:12:08 2022
@@ -45,6 +45,7 @@
#include <sys/callout.h>
#include <linux/completion.h>
+#include <linux/types.h>
#include <asm/barrier.h>
/*
@@ -255,7 +256,6 @@ int fatal_signal_pending(VCHIQ_THREAD_T)
#define PAGE_ALIGN(addr) round_page(addr)
typedef void irqreturn_t;
-typedef off_t loff_t;
#define BCM2835_MBOX_CHAN_VCHIQ 3
#define bcm_mbox_write bcmmbox_write