Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F177459993
D60807.1794464986.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
340 B
Referenced Files
None
Subscribers
None
D60807.1794464986.diff
View Options
diff --git a/sys/dev/bxe/bxe_stats.c b/sys/dev/bxe/bxe_stats.c
--- a/sys/dev/bxe/bxe_stats.c
+++ b/sys/dev/bxe/bxe_stats.c
@@ -30,11 +30,7 @@
#include "bxe.h"
#include "bxe_stats.h"
-#ifdef __i386__
-#define BITS_PER_LONG 32
-#else
-#define BITS_PER_LONG 64
-#endif
+#define BITS_PER_LONG (__SIZEOF_LONG__ * 8)
static inline long
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Nov 12, 6:29 AM (13 h, 11 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41001192
Default Alt Text
D60807.1794464986.diff (340 B)
Attached To
Mode
D60807: bxe: Use __SIZEOF_LONG__ to compute BITS_PER_LONG
Attached
Detach File
Event Timeline