Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F146123275
D54465.1779260824.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
549 B
Referenced Files
None
Subscribers
None
D54465.1779260824.diff
View Options
diff --git a/sys/x86/cpufreq/hwpstate_amd.c b/sys/x86/cpufreq/hwpstate_amd.c
--- a/sys/x86/cpufreq/hwpstate_amd.c
+++ b/sys/x86/cpufreq/hwpstate_amd.c
@@ -118,7 +118,7 @@
#define BITS_VALUE(bits, num) (((num) & (bits)) >> (ffsll((bits)) - 1))
#define BITS_WITH_VALUE(bits, val) ((uintmax_t)(val) << (ffsll((bits)) - 1))
#define SET_BITS_VALUE(var, bits, val) \
- ((var) = (var) & ~(bits) | BITS_WITH_VALUE((bits), (val)))
+ ((var) = ((var) & ~(bits)) | BITS_WITH_VALUE((bits), (val)))
#define HWPSTATE_DEBUG(dev, msg...) \
do { \
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, May 20, 7:07 AM (8 h, 17 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28752592
Default Alt Text
D54465.1779260824.diff (549 B)
Attached To
Mode
D54465: hwpstate_amd: Fix compile error
Attached
Detach File
Event Timeline
Log In to Comment