cregit-Linux how code gets into the kernel

Release 4.14 arch/powerpc/platforms/4xx/machine_check.c

/*
 * 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/kernel.h>
#include <linux/printk.h>
#include <linux/ptrace.h>

#include <asm/reg.h>


int machine_check_4xx(struct pt_regs *regs) { unsigned long reason = regs->dsisr; if (reason & ESR_IMCP) { printk("Instruction"); mtspr(SPRN_ESR, reason & ~ESR_IMCP); } else printk("Data"); printk(" machine check in kernel mode.\n"); return 0; }

Contributors

PersonTokensPropCommitsCommitProp
Michael Ellerman55100.00%1100.00%
Total55100.00%1100.00%


Overall Contributors

PersonTokensPropCommitsCommitProp
Michael Ellerman68100.00%1100.00%
Total68100.00%1100.00%
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.
Created with cregit.