summaryrefslogtreecommitdiff
path: root/geoip.h
diff options
context:
space:
mode:
authorVadim Kochan <vadim4j@gmail.com>2016-07-26 22:35:06 +0300
committerTobias Klauser <tklauser@distanz.ch>2016-07-27 18:47:55 +0200
commit0c85ef0111b36b14c53898780006d78a2727f360 (patch)
tree015205c1a6ccb25dbbdc2ca4bf04d093f0331a3e /geoip.h
parent4434db4bed874548cc5f3a28578d7b4758502d68 (diff)
trafgen: Move applying of dynamic elements to own function
The same code for applying dynamic elements to a packet is used for both slow & fast path modes, so let's move it into one inlined function. Signed-off-by: Vadim Kochan <vadim4j@gmail.com> Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'geoip.h')
0 files changed, 0 insertions, 0 deletions
e in the message pump (the mutex now always being taken in the message pump) and taking the bus lock mutex in spi_sync(), allowing __spi_sync() to have no mutex handling. While we're at it hoist the mutex further up the message pump before we power up the device so that all power up/down of the block is covered by it and there are no races with in-line pumping of messages. Reported-by: Rich Felker <dalias@libc.org> Tested-by: Rich Felker <dalias@libc.org> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'Documentation')