-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
yaml --- r: 175795 b: refs/heads/master c: 3aa565f h: refs/heads/master i: 175793: 50cbe72 175791: a0b48be v: v3
- Loading branch information
Gautham R Shenoy
authored and
Benjamin Herrenschmidt
committed
Nov 24, 2009
1 parent
05ce6db
commit 277b0af
Showing
5 changed files
with
217 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
--- | ||
refs/heads/master: 69ddb57cbea0b3dd851ea5f1edd1e609ad4da04e | ||
refs/heads/master: 3aa565f53c396914a9406388efaa238e9c937fc6 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
#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 | ||
}; | ||
|
||
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 enum cpu_state_vals get_preferred_offline_state(int cpu); | ||
extern void set_preferred_offline_state(int cpu, enum cpu_state_vals state); | ||
extern void set_default_offline_state(int cpu); | ||
extern int start_secondary(void); | ||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters