summaryrefslogtreecommitdiff
path: root/sysutils/x86info/files/patch-Intel_topology.c
blob: ea48ffbd757e524bc41919ea0cc69d96f33d12de (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- Intel/topology.c.orig	2008-12-30 22:21:53.000000000 +0300
+++ Intel/topology.c	2008-12-30 22:22:23.000000000 +0300
@@ -20,7 +20,7 @@
  * Note fls(0) = 0, fls(1) = 1, fls(0x80000000) = 32.
  */
 
-static int fls(int x)
+static int priv_fls(int x)
 {
 	int r = 32;
 
@@ -55,7 +55,7 @@
 {
 	unsigned int MaskWidth = 0;
 
-	MaskWidth = fls(item)-1;
+	MaskWidth = priv_fls(item)-1;
 	return MaskWidth;
 }