Release 4.14 arch/powerpc/platforms/pseries/offline_states.h
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef _OFFLINE_STATES_H_
#define _OFFLINE_STATES_H_
/* Cpu offline states go here */
enum cpu_state_vals {
CPU_STATE_OFFLINE,
CPU_STATE_INACTIVE,
CPU_STATE_ONLINE,
CPU_MAX_OFFLINE_STATES
};
#ifdef CONFIG_HOTPLUG_CPU
extern enum cpu_state_vals get_cpu_current_state(int cpu);
extern void set_cpu_current_state(int cpu, enum cpu_state_vals state);
extern void set_preferred_offline_state(int cpu, enum cpu_state_vals state);
extern void set_default_offline_state(int cpu);
#else
static inline enum cpu_state_vals get_cpu_current_state(int cpu)
{
return CPU_STATE_ONLINE;
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Adam Lackorzynski | 14 | 100.00% | 1 | 100.00% |
Total | 14 | 100.00% | 1 | 100.00% |
static inline void set_cpu_current_state(int cpu, enum cpu_state_vals state)
{
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Adam Lackorzynski | 13 | 100.00% | 1 | 100.00% |
Total | 13 | 100.00% | 1 | 100.00% |
static inline void set_preferred_offline_state(int cpu, enum cpu_state_vals state)
{
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Gautham R. Shenoy | 9 | 69.23% | 1 | 50.00% |
Adam Lackorzynski | 4 | 30.77% | 1 | 50.00% |
Total | 13 | 100.00% | 2 | 100.00% |
static inline void set_default_offline_state(int cpu)
{
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Gautham R. Shenoy | 6 | 66.67% | 1 | 50.00% |
Adam Lackorzynski | 3 | 33.33% | 1 | 50.00% |
Total | 9 | 100.00% | 2 | 100.00% |
#endif
extern enum cpu_state_vals get_preferred_offline_state(int cpu);
#endif
Overall Contributors
Person | Tokens | Prop | Commits | CommitProp |
Gautham R. Shenoy | 66 | 51.56% | 1 | 33.33% |
Adam Lackorzynski | 61 | 47.66% | 1 | 33.33% |
Greg Kroah-Hartman | 1 | 0.78% | 1 | 33.33% |
Total | 128 | 100.00% | 3 | 100.00% |
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.