aboutsummaryrefslogtreecommitdiffstats
path: root/net/tipc/socket.c
diff options
context:
space:
mode:
authorSean Young <[email protected]>2020-08-13 09:08:49 +0000
committerMauro Carvalho Chehab <[email protected]>2020-08-28 12:06:36 +0000
commit1451b93223bbe3b4e9c91fca6b451d00667c5bf0 (patch)
tree06315fe98be8afb94797cdf14511086da86d2bbc /net/tipc/socket.c
parentmedia: rc: do not access device via sysfs after rc_unregister_device() (diff)
downloadkernel-1451b93223bbe3b4e9c91fca6b451d00667c5bf0.tar.gz
kernel-1451b93223bbe3b4e9c91fca6b451d00667c5bf0.zip
media: gpio-ir-tx: spinlock is not needed to disable interrupts
During bit-banging the IR on a gpio pin, we cannot be scheduled or have anything interrupt us, else the generated signal will be incorrect. Therefore, we need to disable interrupts on the local cpu. This also disables preemption. local_irq_disable() does exactly what we need and does not require a spinlock. Signed-off-by: Sean Young <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'net/tipc/socket.c')
0 files changed, 0 insertions, 0 deletions