diff options
Diffstat (limited to 'arch/powerpc/kernel/sysfs.c')
| -rw-r--r-- | arch/powerpc/kernel/sysfs.c | 6 | 
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/powerpc/kernel/sysfs.c b/arch/powerpc/kernel/sysfs.c index 3a10cda9c05e..ef9a61718940 100644 --- a/arch/powerpc/kernel/sysfs.c +++ b/arch/powerpc/kernel/sysfs.c @@ -228,7 +228,7 @@ static void __init sysfs_create_dscr_default(void)  }  #endif /* CONFIG_PPC64 */ -#ifdef CONFIG_PPC_FSL_BOOK3E +#ifdef CONFIG_PPC_E500  #define MAX_BIT				63  static u64 pw20_wt; @@ -907,7 +907,7 @@ static int register_cpu_online(unsigned int cpu)  		device_create_file(s, &dev_attr_tscr);  #endif /* CONFIG_PPC64 */ -#ifdef CONFIG_PPC_FSL_BOOK3E +#ifdef CONFIG_PPC_E500  	if (PVR_VER(cur_cpu_spec->pvr_value) == PVR_VER_E6500) {  		device_create_file(s, &dev_attr_pw20_state);  		device_create_file(s, &dev_attr_pw20_wait_time); @@ -1003,7 +1003,7 @@ static int unregister_cpu_online(unsigned int cpu)  		device_remove_file(s, &dev_attr_tscr);  #endif /* CONFIG_PPC64 */ -#ifdef CONFIG_PPC_FSL_BOOK3E +#ifdef CONFIG_PPC_E500  	if (PVR_VER(cur_cpu_spec->pvr_value) == PVR_VER_E6500) {  		device_remove_file(s, &dev_attr_pw20_state);  		device_remove_file(s, &dev_attr_pw20_wait_time);  |