cregit-Linux how code gets into the kernel

Release 4.11 arch/arm/mach-footbridge/isa-timer.c

/*
 *  linux/arch/arm/mach-footbridge/isa-timer.c
 *
 *  Copyright (C) 1998 Russell King.
 *  Copyright (C) 1998 Phil Blundell
 */
#include <linux/clockchips.h>
#include <linux/i8253.h>
#include <linux/init.h>
#include <linux/interrupt.h>
#include <linux/irq.h>
#include <linux/spinlock.h>
#include <linux/timex.h>

#include <asm/irq.h>
#include <asm/mach/time.h>

#include "common.h"


static irqreturn_t pit_timer_interrupt(int irq, void *dev_id) { struct clock_event_device *ce = dev_id; ce->event_handler(ce); return IRQ_HANDLED; }

Contributors

PersonTokensPropCommitsCommitProp
Russell King30100.00%2100.00%
Total30100.00%2100.00%

static struct irqaction pit_timer_irq = { .name = "pit", .handler = pit_timer_interrupt, .flags = IRQF_TIMER | IRQF_IRQPOLL, .dev_id = &i8253_clockevent, };
void __init isa_timer_init(void) { clocksource_i8253_init(); setup_irq(i8253_clockevent.irq, &pit_timer_irq); clockevent_i8253_init(false); }

Contributors

PersonTokensPropCommitsCommitProp
Russell King2388.46%375.00%
Thomas Gleixner311.54%125.00%
Total26100.00%4100.00%


Overall Contributors

PersonTokensPropCommitsCommitProp
Russell King10488.89%337.50%
Thomas Gleixner86.84%337.50%
Ralf Bächle32.56%112.50%
Bernhard Walle21.71%112.50%
Total117100.00%8100.00%
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.
Created with cregit.