mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-02 13:23:35 -04:00
bnx2x: convert to CYCLECOUNTER_MASK macro.
Signed-off-by: Richard Cochran <richardcochran@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
1891172aa5
commit
f28ba401db
@@ -14610,7 +14610,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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user