Source-Changes-HG archive

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

[src/trunk]: src/sys/external/bsd/drm2/dist/include/drm Forward-declare some ...



details:   https://anonhg.NetBSD.org/src/rev/b219cdd009f8
branches:  trunk
changeset: 1028090:b219cdd009f8
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sun Dec 19 01:49:44 2021 +0000

description:
Forward-declare some structs.

diffstat:

 sys/external/bsd/drm2/dist/include/drm/drm_cache.h |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r e883c59498e1 -r b219cdd009f8 sys/external/bsd/drm2/dist/include/drm/drm_cache.h
--- a/sys/external/bsd/drm2/dist/include/drm/drm_cache.h        Sun Dec 19 01:49:36 2021 +0000
+++ b/sys/external/bsd/drm2/dist/include/drm/drm_cache.h        Sun Dec 19 01:49:44 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: drm_cache.h,v 1.6 2021/12/19 01:49:00 riastradh Exp $  */
+/*     $NetBSD: drm_cache.h,v 1.7 2021/12/19 01:49:44 riastradh Exp $  */
 
 /**************************************************************************
  *
@@ -40,8 +40,11 @@
 #endif
 #include <linux/scatterlist.h>
 
+struct page;
+
 void drm_clflush_pages(struct page *pages[], unsigned long num_pages);
 #ifdef __NetBSD__              /* XXX drm clflush */
+struct pglist;
 void drm_clflush_pglist(struct pglist *);
 void drm_clflush_page(struct page *);
 void drm_clflush_virt_range(const void *, size_t);



Home | Main Index | Thread Index | Old Index