cregit-Linux how code gets into the kernel

Release 4.11 arch/mips/kernel/i8253.c

Directory: arch/mips/kernel
/*
 * i8253.c  8253/PIT functions
 *
 */
#include <linux/clockchips.h>
#include <linux/i8253.h>
#include <linux/export.h>
#include <linux/smp.h>
#include <linux/irq.h>

#include <asm/time.h>


static irqreturn_t timer_interrupt(int irq, void *dev_id) { i8253_clockevent.event_handler(&i8253_clockevent); return IRQ_HANDLED; }

Contributors

PersonTokensPropCommitsCommitProp
Ralf Bächle2291.67%250.00%
Thomas Gleixner28.33%250.00%
Total24100.00%4100.00%

static struct irqaction irq0 = { .handler = timer_interrupt, .flags = IRQF_NOBALANCING | IRQF_TIMER, .name = "timer" };
void __init setup_pit_timer(void) { clockevent_i8253_init(true); setup_irq(0, &irq0); }

Contributors

PersonTokensPropCommitsCommitProp
Ralf Bächle1990.48%150.00%
Thomas Gleixner29.52%150.00%
Total21100.00%2100.00%


static int __init init_pit_clocksource(void) { if (num_possible_cpus() > 1) /* PIT does not scale! */ return 0; return clocksource_i8253_init(); }

Contributors

PersonTokensPropCommitsCommitProp
Ralf Bächle2291.67%150.00%
Russell King28.33%150.00%
Total24100.00%2100.00%

arch_initcall(init_pit_clocksource);

Overall Contributors

PersonTokensPropCommitsCommitProp
Ralf Bächle10589.74%440.00%
Thomas Gleixner43.42%220.00%
David Howells32.56%110.00%
Wu Zhangjin21.71%110.00%
Russell King21.71%110.00%
Paul Gortmaker10.85%110.00%
Total117100.00%10100.00%
Directory: arch/mips/kernel
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.
Created with cregit.