summaryrefslogtreecommitdiff
path: root/kernels/linux-libre-rt/change-default-console-loglevel.patch
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2015-02-17 11:53:09 -0200
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2015-02-17 11:53:09 -0200
commit5c9bb455b1ad5d20cc2555341989dbecfb5697a0 (patch)
tree602c0f904d74b2618ba9fbd1925283837b4c7ca6 /kernels/linux-libre-rt/change-default-console-loglevel.patch
parent37fa573c35361676b855b460293134ff8fc0e7e9 (diff)
linux-libre-rt-3.18.7_gnu.rt1-1: updating version
Diffstat (limited to 'kernels/linux-libre-rt/change-default-console-loglevel.patch')
-rw-r--r--kernels/linux-libre-rt/change-default-console-loglevel.patch21
1 files changed, 10 insertions, 11 deletions
diff --git a/kernels/linux-libre-rt/change-default-console-loglevel.patch b/kernels/linux-libre-rt/change-default-console-loglevel.patch
index 22cd69a09..11da2a9d8 100644
--- a/kernels/linux-libre-rt/change-default-console-loglevel.patch
+++ b/kernels/linux-libre-rt/change-default-console-loglevel.patch
@@ -1,12 +1,11 @@
-diff -upr linux-3.0.orig/kernel/printk.c linux-3.0/kernel/printk.c
---- linux-3.0.orig/kernel/printk/printk.c 2011-07-22 05:17:23.000000000 +0300
-+++ linux-3.0/kernel/printk/printk.c 2011-07-27 14:43:07.000000000 +0300
-@@ -58,7 +58,7 @@ void asmlinkage __attribute__((weak)) ea
-
- /* We show everything that is MORE important than this.. */
- #define MINIMUM_CONSOLE_LOGLEVEL 1 /* Minimum loglevel we let people use */
--#define DEFAULT_CONSOLE_LOGLEVEL 7 /* anything MORE serious than KERN_DEBUG */
-+#define DEFAULT_CONSOLE_LOGLEVEL 4 /* anything MORE serious than KERN_WARNING */
-
- DECLARE_WAIT_QUEUE_HEAD(log_wait);
+--- linux-3.16/include/linux/printk.h.old 2014-08-04 18:48:30.686043266 +0200
++++ linux-3.16/include/linux/printk.h 2014-08-04 18:48:47.706218528 +0200
+@@ -37,7 +37,7 @@
+ #define CONSOLE_LOGLEVEL_SILENT 0 /* Mum's the word */
+ #define CONSOLE_LOGLEVEL_MIN 1 /* Minimum loglevel we let people use */
+ #define CONSOLE_LOGLEVEL_QUIET 4 /* Shhh ..., when booted with "quiet" */
+-#define CONSOLE_LOGLEVEL_DEFAULT 7 /* anything MORE serious than KERN_DEBUG */
++#define CONSOLE_LOGLEVEL_DEFAULT 4 /* anything MORE serious than KERN_DEBUG */
+ #define CONSOLE_LOGLEVEL_DEBUG 10 /* issue debug messages */
+ #define CONSOLE_LOGLEVEL_MOTORMOUTH 15 /* You can't shut this one up */