summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2016-01-12 13:50:21 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2016-01-13 15:55:23 +0100
commitefd9601e15b030317eeda1618985bac34ebfcb9a (patch)
tree68e3385e007711a0ef084079fd17a5482f8f916d /arch
parent96b115be942ed8dcc94a5230fce0eafb4ac93f2d (diff)
downloadbarebox-efd9601e15b030317eeda1618985bac34ebfcb9a.tar.gz
barebox-efd9601e15b030317eeda1618985bac34ebfcb9a.tar.xz
poller: Fix async poller
The async poller does not work as expected since it can happen that the async poller is removed from the list of pollers while we are iterating over the list. Even list_for_each_entry_safe does not help here since we may remove the next list element, but list_for_each_entry_safe only allows to remove the current list element. Rework the async poller so that it is registered with the poller framework on registration and then is only marked as active with poller_call_async(). This way we do not have to do list manipulations while running the pollers. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions