diff options
author | Kay Sievers <kay@vrfy.org> | 2012-07-09 01:10:38 +0200 |
---|---|---|
committer | Kay Sievers <kay@vrfy.org> | 2012-07-09 01:10:38 +0200 |
commit | 0c0158265c8075de09ee1150babe24dbab0bc861 (patch) | |
tree | f5314d0524c4294c5801ea3b2869d93611d8101a | |
parent | eae8c82b8a054ca8a0165c994a16bf48c74a5d50 (diff) | |
download | patches-0c0158265c8075de09ee1150babe24dbab0bc861.tar.gz |
update stupid test
-rw-r--r-- | kmsg-test-console-blocked.patch | 21 |
1 files changed, 15 insertions, 6 deletions
diff --git a/kmsg-test-console-blocked.patch b/kmsg-test-console-blocked.patch index d996f49..02e333c 100644 --- a/kmsg-test-console-blocked.patch +++ b/kmsg-test-console-blocked.patch @@ -1,7 +1,5 @@ ---- - init/main.c | 25 +++++++++++++++++++++++++ - 1 file changed, 25 insertions(+) - +diff --git a/init/main.c b/init/main.c +index b5cc0a7..23a72d6 100644 --- a/init/main.c +++ b/init/main.c @@ -68,6 +68,7 @@ @@ -29,7 +27,7 @@ asmlinkage void __init start_kernel(void) { char * command_line; -@@ -562,6 +573,13 @@ asmlinkage void __init start_kernel(void +@@ -562,6 +573,24 @@ asmlinkage void __init start_kernel(void) kmem_cache_init_late(); @@ -38,12 +36,23 @@ + smp_call_function_single(1, contprint, NULL, 1); + smp_call_function_single(0, contprint, NULL, 1); + smp_call_function_single(1, contprint, NULL, 1); ++ { ++ int i, j; ++ ++ for (i = 0; i < 8; i++) { ++ printk("\n+++"); ++ for (j = 0; j < 8; j++) ++ printk("-%i-%i-", i, j); ++ } ++ printk("\n"); ++ } ++ + console_unlock(); + /* * HACK ALERT! This is early. We're enabling the console before * we've done PCI setups etc, and console_init() must be aware of -@@ -864,6 +882,13 @@ static int __init kernel_init(void * unu +@@ -864,6 +893,13 @@ static int __init kernel_init(void * unused) do_basic_setup(); |