Skip to content
Commit cb5d9547 authored by Stephen Hemminger's avatar Stephen Hemminger
Browse files

sky2: use mask instead of modulo operation



Gcc isn't smart enough to know that it can do a modulo
operation with power of 2 constant by doing a mask.
So add macro to do it for us.

Signed-off-by: default avatarStephen Hemminger <shemminger@osdl.org>
parent f55925d7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment