ppc64: Add the feature_call function pointer to machdep

parent 414bf008
...@@ -100,6 +100,11 @@ struct machdep_calls { ...@@ -100,6 +100,11 @@ struct machdep_calls {
ssize_t (*nvram_size)(void); ssize_t (*nvram_size)(void);
int (*nvram_sync)(void); int (*nvram_sync)(void);
/* Motherboard/chipset features. This is a kind of general purpose
* hook used to control some machine specific features (like reset
* lines, chip power control, etc...).
*/
long (*feature_call)(unsigned int feature, ...);
#ifdef CONFIG_SMP #ifdef CONFIG_SMP
/* functions for dealing with other cpus */ /* functions for dealing with other cpus */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment