Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F148798308
D52579.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
544 B
Referenced Files
None
Subscribers
None
D52579.diff
View Options
diff --git a/sys/arm64/arm64/cpu_feat.c b/sys/arm64/arm64/cpu_feat.c
--- a/sys/arm64/arm64/cpu_feat.c
+++ b/sys/arm64/arm64/cpu_feat.c
@@ -78,10 +78,11 @@
PCPU_GET(cpuid) != 0)
continue;
- if (feat->feat_check != NULL)
- continue;
-
- check_status = feat->feat_check(feat, midr);
+ if (feat->feat_check != NULL) {
+ check_status = feat->feat_check(feat, midr);
+ } else {
+ check_status = FEAT_DEFAULT_ENABLE;
+ }
/* Ignore features that are not present */
if (check_status == FEAT_ALWAYS_DISABLE)
goto next;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Mar 21, 6:49 AM (9 h, 41 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
30042182
Default Alt Text
D52579.diff (544 B)
Attached To
Mode
D52579: arm64: Fix enabling CPU features
Attached
Detach File
Event Timeline
Log In to Comment