cregit-Linux how code gets into the kernel

Release 4.7 arch/arm64/kernel/cpuidle.c

/*
 * ARM64 CPU idle arch support
 *
 * Copyright (C) 2014 ARM Ltd.
 * Author: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 as
 * published by the Free Software Foundation.
 */

#include <linux/of.h>
#include <linux/of_device.h>

#include <asm/cpuidle.h>
#include <asm/cpu_ops.h>


int __init arm_cpuidle_init(unsigned int cpu) { int ret = -EOPNOTSUPP; if (cpu_ops[cpu] && cpu_ops[cpu]->cpu_suspend && cpu_ops[cpu]->cpu_init_idle) ret = cpu_ops[cpu]->cpu_init_idle(cpu); return ret; }

Contributors

PersonTokensPropCommitsCommitProp
lorenzo pieralisilorenzo pieralisi4382.69%125.00%
jisheng zhangjisheng zhang815.38%250.00%
daniel lezcanodaniel lezcano11.92%125.00%
Total52100.00%4100.00%

/** * cpu_suspend() - function to enter a low-power idle state * @arg: argument to pass to CPU suspend operations * * Return: 0 on success, -EOPNOTSUPP if CPU suspend hook not initialized, CPU * operations back-end error code otherwise. */
int arm_cpuidle_suspend(int index) { int cpu = smp_processor_id(); return cpu_ops[cpu]->cpu_suspend(index); }

Contributors

PersonTokensPropCommitsCommitProp
lorenzo pieralisilorenzo pieralisi2184.00%150.00%
sudeep hollasudeep holla416.00%150.00%
Total25100.00%2100.00%


Overall Contributors

PersonTokensPropCommitsCommitProp
lorenzo pieralisilorenzo pieralisi7885.71%233.33%
jisheng zhangjisheng zhang88.79%233.33%
sudeep hollasudeep holla44.40%116.67%
daniel lezcanodaniel lezcano11.10%116.67%
Total91100.00%6100.00%
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.
{% endraw %}