Source-Changes-HG archive

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

[src/trunk]: src/sys/external/bsd linux: Add missing symbol namespacing for t...



details:   https://anonhg.NetBSD.org/src/rev/a878d5e5de86
branches:  trunk
changeset: 368535:a878d5e5de86
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sun Jul 17 14:11:07 2022 +0000

description:
linux: Add missing symbol namespacing for tasklet, sync_file.

diffstat:

 sys/external/bsd/common/include/linux/tasklet.h |  3 ++-
 sys/external/bsd/drm2/include/linux/sync_file.h |  5 ++++-
 2 files changed, 6 insertions(+), 2 deletions(-)

diffs (36 lines):

diff -r 27808ebeda47 -r a878d5e5de86 sys/external/bsd/common/include/linux/tasklet.h
--- a/sys/external/bsd/common/include/linux/tasklet.h   Sun Jul 17 14:10:55 2022 +0000
+++ b/sys/external/bsd/common/include/linux/tasklet.h   Sun Jul 17 14:11:07 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: tasklet.h,v 1.6 2021/12/19 11:49:11 riastradh Exp $    */
+/*     $NetBSD: tasklet.h,v 1.7 2022/07/17 14:11:07 riastradh Exp $    */
 
 /*-
  * Copyright (c) 2018, 2020 The NetBSD Foundation, Inc.
@@ -39,6 +39,7 @@
 #define        __tasklet_is_enabled            linux___tasklet_is_enabled
 #define        __tasklet_is_scheduled          linux___tasklet_is_scheduled
 #define        tasklet_disable                 linux_tasklet_disable
+#define        tasklet_disable_nosync          linux_tasklet_disable_nosync
 #define        tasklet_enable                  linux_tasklet_enable
 #define        tasklet_hi_schedule             linux_tasklet_hi_schedule
 #define        tasklet_init                    linux_tasklet_init
diff -r 27808ebeda47 -r a878d5e5de86 sys/external/bsd/drm2/include/linux/sync_file.h
--- a/sys/external/bsd/drm2/include/linux/sync_file.h   Sun Jul 17 14:10:55 2022 +0000
+++ b/sys/external/bsd/drm2/include/linux/sync_file.h   Sun Jul 17 14:11:07 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sync_file.h,v 1.4 2021/12/19 10:45:49 riastradh Exp $  */
+/*     $NetBSD: sync_file.h,v 1.5 2022/07/17 14:11:07 riastradh Exp $  */
 
 /*-
  * Copyright (c) 2018 The NetBSD Foundation, Inc.
@@ -37,6 +37,9 @@
 
 #include <linux/dma-fence.h>
 
+#define        sync_file_create        linux_sync_file_create
+#define        sync_file_get_fence     linux_sync_file_get_fence
+
 struct dma_fence;
 struct file;
 struct sync_file;



Home | Main Index | Thread Index | Old Index