Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F162828438
D21297.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
594 B
Referenced Files
None
Subscribers
None
D21297.diff
View Options
Index: head/stand/powerpc/ofw/cas.c
===================================================================
--- head/stand/powerpc/ofw/cas.c
+++ head/stand/powerpc/ofw/cas.c
@@ -191,10 +191,6 @@
ihandle_t ihandle;
cell_t err;
- /* Skip CAS when running on PowerNV */
- if (!ppc64_hv())
- return (0);
-
/* Perform CAS only for POWER8 and later cores */
switch (mfpvr() & PVR_VER_MASK) {
case PVR_VER_P8:
@@ -205,6 +201,10 @@
default:
return (0);
}
+
+ /* Skip CAS when running on PowerNV */
+ if (!ppc64_hv())
+ return (0);
ihandle = OF_open("/");
if (ihandle == -1) {
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Jul 18, 8:28 AM (6 h, 55 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
35193002
Default Alt Text
D21297.diff (594 B)
Attached To
Mode
D21297: Fix loader on powerpc32
Attached
Detach File
Event Timeline
Log In to Comment