Module Name: src
Committed By: riastradh
Date: Mon Aug 27 07:24:36 UTC 2018
Modified Files:
src/sys/external/bsd/drm2/include/linux: reboot.h
Log Message:
Reboot notifier stubs.
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/external/bsd/drm2/include/linux/reboot.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/external/bsd/drm2/include/linux/reboot.h
diff -u src/sys/external/bsd/drm2/include/linux/reboot.h:1.2 src/sys/external/bsd/drm2/include/linux/reboot.h:1.3
--- src/sys/external/bsd/drm2/include/linux/reboot.h:1.2 Fri Mar 6 01:43:07 2015
+++ src/sys/external/bsd/drm2/include/linux/reboot.h Mon Aug 27 07:24:36 2018
@@ -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 @@ orderly_poweroff(bool force __unused)
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_ */