cregit-Linux how code gets into the kernel

Release 4.14 arch/openrisc/kernel/irq.c

/*
 * OpenRISC irq.c
 *
 * Linux architectural port borrowing liberally from similar works of
 * others.  All original copyrights apply as per the original source
 * declaration.
 *
 * Modifications for the OpenRISC architecture:
 * Copyright (C) 2010-2011 Jonas Bonn <jonas@southpole.se>
 *
 *      This program is free software; you can redistribute it and/or
 *      modify it under the terms of the GNU General Public License
 *      as published by the Free Software Foundation; either version
 *      2 of the License, or (at your option) any later version.
 */

#include <linux/interrupt.h>
#include <linux/init.h>
#include <linux/ftrace.h>
#include <linux/irq.h>
#include <linux/irqchip.h>
#include <linux/export.h>
#include <linux/irqflags.h>

/* read interrupt enabled status */

unsigned long arch_local_save_flags(void) { return mfspr(SPR_SR) & (SPR_SR_IEE|SPR_SR_TEE); }

Contributors

PersonTokensPropCommitsCommitProp
Jonas Bonn20100.00%1100.00%
Total20100.00%1100.00%

EXPORT_SYMBOL(arch_local_save_flags); /* set interrupt enabled status */
void arch_local_irq_restore(unsigned long flags) { mtspr(SPR_SR, ((mfspr(SPR_SR) & ~(SPR_SR_IEE|SPR_SR_TEE)) | flags)); }

Contributors

PersonTokensPropCommitsCommitProp
Jonas Bonn32100.00%1100.00%
Total32100.00%1100.00%

EXPORT_SYMBOL(arch_local_irq_restore);
void __init init_IRQ(void) { irqchip_init(); }

Contributors

PersonTokensPropCommitsCommitProp
Jonas Bonn654.55%150.00%
Stefan Kristiansson545.45%150.00%
Total11100.00%2100.00%

static void (*handle_arch_irq)(struct pt_regs *);
void __init set_handle_irq(void (*handle_irq)(struct pt_regs *)) { handle_arch_irq = handle_irq; }

Contributors

PersonTokensPropCommitsCommitProp
Jonas Bonn1257.14%150.00%
Stefan Kristiansson942.86%150.00%
Total21100.00%2100.00%


void __irq_entry do_IRQ(struct pt_regs *regs) { handle_arch_irq(regs); }

Contributors

PersonTokensPropCommitsCommitProp
Jonas Bonn1593.75%150.00%
Stefan Kristiansson16.25%150.00%
Total16100.00%2100.00%


Overall Contributors

PersonTokensPropCommitsCommitProp
Jonas Bonn12384.25%375.00%
Stefan Kristiansson2315.75%125.00%
Total146100.00%4100.00%
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.
Created with cregit.