cregit-Linux how code gets into the kernel

Release 4.14 arch/powerpc/kernel/jump_label.c

/*
 * Copyright 2010 Michael Ellerman, IBM Corp.
 *
 * 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/jump_label.h>
#include <asm/code-patching.h>

#ifdef HAVE_JUMP_LABEL

void arch_jump_label_transform(struct jump_entry *entry, enum jump_label_type type) { u32 *addr = (u32 *)(unsigned long)entry->code; if (type == JUMP_LABEL_JMP) patch_branch(addr, entry->target, 0); else patch_instruction(addr, PPC_INST_NOP); }

Contributors

PersonTokensPropCommitsCommitProp
Michael Ellerman5498.18%150.00%
Peter Zijlstra11.82%150.00%
Total55100.00%2100.00%

#endif

Overall Contributors

PersonTokensPropCommitsCommitProp
Michael Ellerman6491.43%133.33%
Al Viro57.14%133.33%
Peter Zijlstra11.43%133.33%
Total70100.00%3100.00%
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.
Created with cregit.