stderr_console.c (e16f5350d4cf402cffd18898b07c3b72917db192) | stderr_console.c (b60745b960dc8313400899fcda310ba51604ffb8) |
---|---|
1#include <linux/kernel.h> 2#include <linux/init.h> 3#include <linux/console.h> 4 5#include "chan_user.h" 6 7/* ----------------------------------------------------------------------------- */ 8/* trivial console driver -- simply dump everything to stderr */ 9 10/* | 1#include <linux/kernel.h> 2#include <linux/init.h> 3#include <linux/console.h> 4 5#include "chan_user.h" 6 7/* ----------------------------------------------------------------------------- */ 8/* trivial console driver -- simply dump everything to stderr */ 9 10/* |
11 * Don't register by default -- as this registeres very early in the | 11 * Don't register by default -- as this registers very early in the |
12 * boot process it becomes the default console. 13 * 14 * Initialized at init time. 15 */ 16static int use_stderr_console = 0; 17 18static void stderr_console_write(struct console *console, const char *string, 19 unsigned len) --- 43 unchanged lines hidden --- | 12 * boot process it becomes the default console. 13 * 14 * Initialized at init time. 15 */ 16static int use_stderr_console = 0; 17 18static void stderr_console_write(struct console *console, const char *string, 19 unsigned len) --- 43 unchanged lines hidden --- |