]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc334b94789500f99922cdb64b2841a07e6eccaad
treed4b55754280eae3bbd6643eb9dd3f89b26137096
parent8e06a69cdca4f5c8861e6bcff30b3cac7b752092
can: update can-bcm for hrtimer hardirq callbacks

Since commit b3b62f0ffaeaa4b6ee6c9a45834a36848c5665d3 ("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