summaryrefslogtreecommitdiff
path: root/target/linux/patches/3.13.6/startup.patch
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-03-12 20:34:01 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2014-03-12 20:34:01 +0100
commitd2bda1cfddccdd4c553a15e775a037de3bbb0570 (patch)
tree965914462125326d3166287f4567ceae50bf7914 /target/linux/patches/3.13.6/startup.patch
parent22db207e5c13ad254ff488b8be2601792aae8586 (diff)
parentd07bf77e221876d0c9d6f9813ef165265b67c15e (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'target/linux/patches/3.13.6/startup.patch')
-rw-r--r--target/linux/patches/3.13.6/startup.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/target/linux/patches/3.13.6/startup.patch b/target/linux/patches/3.13.6/startup.patch
new file mode 100644
index 000000000..be4ea469d
--- /dev/null
+++ b/target/linux/patches/3.13.6/startup.patch
@@ -0,0 +1,12 @@
+diff -Nur linux-3.13.3.orig/init/main.c linux-3.13.3/init/main.c
+--- linux-3.13.3.orig/init/main.c 2014-02-13 23:00:14.000000000 +0100
++++ linux-3.13.3/init/main.c 2014-02-17 11:35:14.000000000 +0100
+@@ -916,6 +917,8 @@
+ if (sys_open((const char __user *) "/dev/console", O_RDWR, 0) < 0)
+ pr_err("Warning: unable to open an initial console.\n");
+
++ printk(KERN_WARNING "Starting Linux (built with OpenADK).\n");
++
+ (void) sys_dup(0);
+ (void) sys_dup(0);
+ /*