git: 7d2702a19839 - main - linuxkpi: Add more notifier defines

From: Emmanuel Vadot <manu_at_FreeBSD.org>
Date: Mon, 08 Aug 2022 14:04:23 UTC
The branch main has been updated by manu:

URL: https://cgit.FreeBSD.org/src/commit/?id=7d2702a1983945210a1daa30b6e09ea7eb7b24d3

commit 7d2702a1983945210a1daa30b6e09ea7eb7b24d3
Author:     Emmanuel Vadot <manu@FreeBSD.org>
AuthorDate: 2022-07-27 07:55:06 +0000
Commit:     Emmanuel Vadot <manu@FreeBSD.org>
CommitDate: 2022-08-08 13:22:35 +0000

    linuxkpi: Add more notifier defines
    
    Needded by drm-kmod.
    
    Reviewed by:    bz, emaste, hselasky
    Obtained from:  drm-kmod
    Sponsored by:   Beckhoff Automation GmbH & Co. KG
    Differential Revision:  https://reviews.freebsd.org/D36018
---
 sys/compat/linuxkpi/common/include/linux/notifier.h | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/sys/compat/linuxkpi/common/include/linux/notifier.h b/sys/compat/linuxkpi/common/include/linux/notifier.h
index cafbb64f3f3e..bd822d73d5e3 100644
--- a/sys/compat/linuxkpi/common/include/linux/notifier.h
+++ b/sys/compat/linuxkpi/common/include/linux/notifier.h
@@ -34,7 +34,10 @@
 #include <sys/types.h>
 #include <sys/eventhandler.h>
 
-#define	NOTIFY_DONE	0
+#define	NOTIFY_DONE		0
+#define	NOTIFY_OK		0x0001
+#define	NOTIFY_STOP_MASK	0x8000
+#define	NOTIFY_BAD		(NOTIFY_STOP_MASK | 0x0002)
 
 enum {
 	NETDEV_CHANGE,