Source-Changes-HG archive

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

[src/trunk]: src/sys/external/bsd/common/include/linux Add KERN_{EMERG, ALERT, ...



details:   https://anonhg.NetBSD.org/src/rev/541bf0797ccb
branches:  trunk
changeset: 366468:541bf0797ccb
user:      skrll <skrll%NetBSD.org@localhost>
date:      Tue Aug 28 08:50:46 2018 +0000

description:
Add KERN_{EMERG,ALERT,NOTICE}

diffstat:

 sys/external/bsd/common/include/linux/printk.h |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (22 lines):

diff -r cc02f4fe45ae -r 541bf0797ccb sys/external/bsd/common/include/linux/printk.h
--- a/sys/external/bsd/common/include/linux/printk.h    Tue Aug 28 08:48:42 2018 +0000
+++ b/sys/external/bsd/common/include/linux/printk.h    Tue Aug 28 08:50:46 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: printk.h,v 1.5 2018/08/28 08:48:42 skrll Exp $ */
+/*     $NetBSD: printk.h,v 1.6 2018/08/28 08:50:46 skrll Exp $ */
 
 /*-
  * Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -45,9 +45,12 @@
 #define        pr_warn_once    printf  /* XXX */
 #define        pr_notice       printf  /* XXX */
 #define        pr_debug        printf  /* XXX */
+#define        KERN_EMERG      "kern emerg: "
+#define        KERN_ALERT      "kern alert: "
 #define        KERN_CRIT       "kern crit: "
 #define        KERN_ERR        "kern error: "
 #define        KERN_WARNING    "kern warning: "
+#define        KERN_NOTICE     "kern notice: "
 #define        KERN_INFO       "kern info: "
 #define        KERN_DEBUG      "kern debug: "
 #define        KERN_CONT       ""



Home | Main Index | Thread Index | Old Index