Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a5255b07 authored by Richard Cochran's avatar Richard Cochran Committed by Arve Hjønnevåg
Browse files

UPSTREAM: bnx2x: convert to CYCLECOUNTER_MASK macro.



(cherry picked from commit f28ba401dbd9e9fe63d9a7f9101638ca709185b2)
Signed-off-by: default avatarRichard Cochran <richardcochran@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>

Change-Id: I0f9e0e58538c579966e8f48357af15615c4c42b8
parent cf64391c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -14607,7 +14607,7 @@ static void bnx2x_init_cyclecounter(struct bnx2x *bp)
{
	memset(&bp->cyclecounter, 0, sizeof(bp->cyclecounter));
	bp->cyclecounter.read = bnx2x_cyclecounter_read;
	bp->cyclecounter.mask = CLOCKSOURCE_MASK(64);
	bp->cyclecounter.mask = CYCLECOUNTER_MASK(64);
	bp->cyclecounter.shift = 1;
	bp->cyclecounter.mult = 1;
}