Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/external/bsd/vchiq/dist/interface/compat vchiq(4): Fix l...



details:   https://anonhg.NetBSD.org/src/rev/e94cbf429b1b
branches:  trunk
changeset: 359988:e94cbf429b1b
user:      martin <martin%NetBSD.org@localhost>
date:      Sun Feb 06 12:12:08 2022 +0000

description:
vchiq(4): Fix llvm build with only one loff_t definition.
Author: Taylor R Campbell <riastradh%NetBSD.org@localhost>

diffstat:

 sys/external/bsd/vchiq/dist/interface/compat/vchi_bsd.h |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r 9bfb40e607f9 -r e94cbf429b1b sys/external/bsd/vchiq/dist/interface/compat/vchi_bsd.h
--- a/sys/external/bsd/vchiq/dist/interface/compat/vchi_bsd.h   Sun Feb 06 11:56:00 2022 +0000
+++ b/sys/external/bsd/vchiq/dist/interface/compat/vchi_bsd.h   Sun Feb 06 12:12:08 2022 +0000
@@ -45,6 +45,7 @@
 #include <sys/callout.h>
 
 #include <linux/completion.h>
+#include <linux/types.h>
 #include <asm/barrier.h>
 
 /*
@@ -255,7 +256,6 @@
 #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



Home | Main Index | Thread Index | Old Index