Commit d818b56
printk: Make static printk buffers available to nbcon
The nbcon boot consoles also need printk buffers that are available
very early. Since the nbcon boot consoles will also be serialized
by the console_lock, they can use the same static printk buffers
that the legacy consoles are using.
Make the legacy static printk buffers available outside of printk.c
so they can be used by nbcon.c.
Signed-off-by: John Ogness <john.ogness@linutronix.de>
Reviewed-by: Petr Mladek <pmladek@suse.com>
Signed-off-by: Petr Mladek <pmladek@suse.com>
Link: https://lore.kernel.org/r/20230916192007.608398-4-john.ogness@linutronix.de1 parent 3a5bb25 commit d818b56
2 files changed
+11
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
| 89 | + | |
| 90 | + | |
89 | 91 | | |
90 | 92 | | |
91 | 93 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2846 | 2846 | | |
2847 | 2847 | | |
2848 | 2848 | | |
| 2849 | + | |
| 2850 | + | |
| 2851 | + | |
| 2852 | + | |
| 2853 | + | |
| 2854 | + | |
| 2855 | + | |
2849 | 2856 | | |
2850 | 2857 | | |
2851 | 2858 | | |
| |||
2863 | 2870 | | |
2864 | 2871 | | |
2865 | 2872 | | |
2866 | | - | |
2867 | | - | |
2868 | 2873 | | |
2869 | | - | |
| 2874 | + | |
2870 | 2875 | | |
2871 | | - | |
| 2876 | + | |
2872 | 2877 | | |
2873 | 2878 | | |
2874 | 2879 | | |
| |||
0 commit comments