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/include/linux Side-load linux/sizes.h ...



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

description:
Side-load linux/sizes.h like linux does.

One way to get SZ_1M to be defined for intel_guc.c


Author: Maya Rashish <maya%NetBSD.org@localhost>

diffstat:

 sys/external/bsd/drm2/include/linux/mm.h |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r cb4efbe74979 -r cc77261c1d14 sys/external/bsd/drm2/include/linux/mm.h
--- a/sys/external/bsd/drm2/include/linux/mm.h  Sun Dec 19 01:51:37 2021 +0000
+++ b/sys/external/bsd/drm2/include/linux/mm.h  Sun Dec 19 01:51:44 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mm.h,v 1.16 2021/12/19 01:49:08 riastradh Exp $        */
+/*     $NetBSD: mm.h,v 1.17 2021/12/19 01:51:44 riastradh Exp $        */
 
 /*-
  * Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -40,6 +40,7 @@
 #include <asm/page.h>
 #include <linux/shrinker.h>
 #include <linux/slab.h>
+#include <linux/sizes.h>
 
 struct file;
 



Home | Main Index | Thread Index | Old Index