Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F164981130
D2516.id5331.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D2516.id5331.diff
View Options
Index: sys/arm/arm/cpufunc.c
===================================================================
--- sys/arm/arm/cpufunc.c
+++ sys/arm/arm/cpufunc.c
@@ -99,8 +99,6 @@
u_int arm_cache_type[14];
u_int arm_cache_loc;
-/* 1 == use cpu_sleep(), 0 == don't */
-int cpu_do_powersave;
int ctrl;
#ifdef CPU_ARM9
@@ -838,11 +836,6 @@
cputype = cpufunc_id();
cputype &= CPU_ID_CPU_MASK;
- /*
- * NOTE: cpu_do_powersave defaults to off. If we encounter a
- * CPU type where we want to use it by default, then we set it.
- */
-
#ifdef CPU_ARM9
if (((cputype & CPU_ID_IMPLEMENTOR_MASK) == CPU_ID_ARM_LTD ||
(cputype & CPU_ID_IMPLEMENTOR_MASK) == CPU_ID_TI) &&
@@ -922,8 +915,6 @@
get_cachetype_cp15();
pmap_pte_init_mmu_v6();
- /* Use powersave on this CPU. */
- cpu_do_powersave = 1;
goto out;
}
#endif /* CPU_CORTEXA */
@@ -946,9 +937,6 @@
get_cachetype_cp15();
pmap_pte_init_generic();
- /* Use powersave on this CPU. */
- cpu_do_powersave = 1;
-
goto out;
}
#endif /* CPU_FA526 */
@@ -985,9 +973,6 @@
get_cachetype_cp15();
pmap_pte_init_xscale();
- /* Use powersave on this CPU. */
- cpu_do_powersave = 1;
-
goto out;
}
#endif /* CPU_XSCALE_PXA2X0 */
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Aug 6, 5:17 AM (17 h, 25 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
36002687
Default Alt Text
D2516.id5331.diff (1 KB)
Attached To
Mode
D2516: Delete cpu_do_powersave which is write only.
Attached
Detach File
Event Timeline
Log In to Comment