]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
CAN: use hrtimers in can-bcm protocol
authorOliver Hartkopp <oliver@hartkopp.net>
Wed, 16 Apr 2008 02:29:14 +0000 (19:29 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 16 Apr 2008 02:29:14 +0000 (19:29 -0700)
commit73e87e02ec484ac459c4be262ab76960b89dc019
tree6475f3ec73d1bc258d65da619cedef87a157f560
parent85035568a96065de6fb29478707a3ad5f1fed169
CAN: use hrtimers in can-bcm protocol

Make use of hrtimers to support high resolution capabilities, when
provided by the system clocksource.

The conversion to hrtimers additionally discovered and solved an
unlikely race condition that has been reproduced under (unrealistic)
massive receive load, which can only be produced on vcan software devices.

[ Fix printf format warnings on 64-bit -DaveM ]

Signed-off-by: Oliver Hartkopp <oliver@hartkopp.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/can/bcm.c