mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
[PATCH] i386: change the 'no_control' field to 'hotpluggable' in the struct cpu
Change the 'no_control' field in the cpu struct to a more positive and better term 'hotpluggable'. And change(/cleanup) the logic accordingly. Signed-off-by: Suresh Siddha <suresh.b.siddha@intel.com> Signed-off-by: Andi Kleen <ak@suse.de> Cc: Andi Kleen <ak@suse.de> Cc: "Li, Shaohua" <shaohua.li@intel.com> Signed-off-by: Andrew Morton <akpm@osdl.org>
This commit is contained in:
parent
fd6d7d2689
commit
72486f1f8f
5 changed files with 14 additions and 14 deletions
|
@ -27,7 +27,7 @@
|
|||
|
||||
struct cpu {
|
||||
int node_id; /* The node which contains the CPU */
|
||||
int no_control; /* Should the sysfs control file be created? */
|
||||
int hotpluggable; /* creates sysfs control file if hotpluggable */
|
||||
struct sys_device sysdev;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue