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 Reboot notifier stubs.



details:   https://anonhg.NetBSD.org/src/rev/debda79105ba
branches:  trunk
changeset: 835042:debda79105ba
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Mon Aug 27 07:24:36 2018 +0000

description:
Reboot notifier stubs.

diffstat:

 sys/external/bsd/drm2/include/linux/reboot.h |  13 ++++++++++++-
 1 files changed, 12 insertions(+), 1 deletions(-)

diffs (26 lines):

diff -r 3ba85f1dd009 -r debda79105ba sys/external/bsd/drm2/include/linux/reboot.h
--- a/sys/external/bsd/drm2/include/linux/reboot.h      Mon Aug 27 07:24:25 2018 +0000
+++ b/sys/external/bsd/drm2/include/linux/reboot.h      Mon Aug 27 07:24:36 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: reboot.h,v 1.2 2015/03/06 01:43:07 riastradh Exp $     */
+/*     $NetBSD: reboot.h,v 1.3 2018/08/27 07:24:36 riastradh Exp $     */
 
 /*-
  * Copyright (c) 2015 The NetBSD Foundation, Inc.
@@ -45,5 +45,16 @@
        return 0;
 }
 
+static inline int
+register_reboot_notifier(struct notifier_block *block)
+{
+       return 0;
+}
+
+static inline int
+unregister_reboot_notifier(struct notifier_block *block)
+{
+       return 0;
+}
 
 #endif /* _LINUX_REBOOT_H_ */



Home | Main Index | Thread Index | Old Index