can: update can-bcm for hrtimer hardirq callbacks
authorOliver Hartkopp <oliver@hartkopp.net>
Mon, 5 Jan 2009 01:31:18 +0000 (17:31 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 5 Jan 2009 01:31:18 +0000 (17:31 -0800)
commit6e5c172cf7ca1ab878cc6a6a4c1d52fef60f3ee0
treed4b55754280eae3bbd6643eb9dd3f89b26137096
parent858eb711ba64f8a001d7003295b8078bcab33b6d
can: update can-bcm for hrtimer hardirq callbacks

Since commit ca109491f612aab5c8152207631c0444f63da97f ("hrtimer:
removing all ur callback modes") the hrtimer callbacks are processed
only in hardirq context.

This patch moves some functionality into tasklets to run in softirq
context.

Additionally some duplicated code was removed in bcm_rx_thr_flush()
and an avoidable memcpy was removed from bcm_rx_handler().

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