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/779f771cf386
branches:  trunk
changeset: 365961:779f771cf386
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 4b111e18aa4d -r 779f771cf386 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