summaryrefslogtreecommitdiffstats
path: root/drivers/regulator/max8925-regulator.c
diff options
context:
space:
mode:
authorDavidlohr Bueso <dave@stgolabs.net>2016-12-15 00:06:40 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2016-12-15 01:04:08 +0100
commit4663d3e8f21652f33c698fcc2bf20f61499d9c3e (patch)
tree683dd94878d05e85e464627ddd4aa08db0b0bcdc /drivers/regulator/max8925-regulator.c
parentipc/sem: optimize perform_atomic_semop() (diff)
downloadlinux-4663d3e8f21652f33c698fcc2bf20f61499d9c3e.tar.xz
linux-4663d3e8f21652f33c698fcc2bf20f61499d9c3e.zip
ipc/sem: explicitly inline check_restart
The compiler already does this, but make it explicit. This helper is really small and also used in update_queue's main loop, which is O(N^2) scanning. Inline and avoid the function overhead. Link: http://lkml.kernel.org/r/1474225896-10066-5-git-send-email-dave@stgolabs.net Signed-off-by: Davidlohr Bueso <dbueso@suse.de> Cc: Manfred Spraul <manfred@colorfullife.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/regulator/max8925-regulator.c')
0 files changed, 0 insertions, 0 deletions