cregit-Linux how code gets into the kernel

Release 4.14 arch/um/kernel/early_printk.c

Directory: arch/um/kernel
/*
 * Copyright (C) 2011 Richard Weinberger <richrd@nod.at>
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 as
 * published by the Free Software Foundation.
 */

#include <linux/kernel.h>
#include <linux/console.h>
#include <linux/init.h>
#include <os.h>


static void early_console_write(struct console *con, const char *s, unsigned int n) { um_early_printk(s, n); }

Contributors

PersonTokensPropCommitsCommitProp
Richard Weinberger27100.00%1100.00%
Total27100.00%1100.00%

static struct console early_console_dev = { .name = "earlycon", .write = early_console_write, .flags = CON_BOOT, .index = -1, };
static int __init setup_early_printk(char *buf) { if (!early_console) { early_console = &early_console_dev; register_console(&early_console_dev); } return 0; }

Contributors

PersonTokensPropCommitsCommitProp
Richard Weinberger1959.38%150.00%
Thomas Gleixner1340.62%150.00%
Total32100.00%2100.00%

early_param("earlyprintk", setup_early_printk);

Overall Contributors

PersonTokensPropCommitsCommitProp
Richard Weinberger9285.98%133.33%
Thomas Gleixner1413.08%133.33%
Al Viro10.93%133.33%
Total107100.00%3100.00%
Directory: arch/um/kernel
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.
Created with cregit.