aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-powerpc/cputable.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-powerpc/cputable.h')
-rw-r--r--include/asm-powerpc/cputable.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/asm-powerpc/cputable.h b/include/asm-powerpc/cputable.h
index 1ba3c9983614..748bc1805da9 100644
--- a/include/asm-powerpc/cputable.h
+++ b/include/asm-powerpc/cputable.h
@@ -36,6 +36,7 @@
36struct cpu_spec; 36struct cpu_spec;
37 37
38typedef void (*cpu_setup_t)(unsigned long offset, struct cpu_spec* spec); 38typedef void (*cpu_setup_t)(unsigned long offset, struct cpu_spec* spec);
39typedef void (*cpu_restore_t)(void);
39 40
40enum powerpc_oprofile_type { 41enum powerpc_oprofile_type {
41 PPC_OPROFILE_INVALID = 0, 42 PPC_OPROFILE_INVALID = 0,
@@ -65,6 +66,8 @@ struct cpu_spec {
65 * BHT, SPD, etc... from head.S before branching to identify_machine 66 * BHT, SPD, etc... from head.S before branching to identify_machine
66 */ 67 */
67 cpu_setup_t cpu_setup; 68 cpu_setup_t cpu_setup;
69 /* Used to restore cpu setup on secondary processors and at resume */
70 cpu_restore_t cpu_restore;
68 71
69 /* Used by oprofile userspace to select the right counters */ 72 /* Used by oprofile userspace to select the right counters */
70 char *oprofile_cpu_type; 73 char *oprofile_cpu_type;