aboutsummaryrefslogtreecommitdiff
path: root/drivers/tty/serial/esp32_acm.c
diff options
context:
space:
mode:
authorThomas Richter <tmricht@linux.ibm.com>2023-10-11 12:09:30 +0200
committerVasily Gorbik <gor@linux.ibm.com>2023-10-25 15:08:29 +0200
commitb286997e83dcf7b498329a66a8a22fc8a5bf50f0 (patch)
treeeae547c74551b0b81d4166f2011bfa8c5fac44cd /drivers/tty/serial/esp32_acm.c
parenta13e8bdf0f788552aa37e1f9a6fe5fcca4095d2b (diff)
s390/pai: initialize event count once at initialization
Event count value is initialized and set to zero in function paicrypt_start(). This function is called once per CPU when an event is started on that CPU. This leads to event count value being set to zero as many times as there are online CPUs. This is not necessary. The event count value is bound to the event and it is sufficient to initialize the event counter once at event creation time. This is done when the event structure is dynamicly allocated with __GFP_ZERO flag. This sets member count to zero. Acked-by: Sumanth Korikkar <sumanthk@linux.ibm.com> Signed-off-by: Thomas Richter <tmricht@linux.ibm.com> Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Diffstat (limited to 'drivers/tty/serial/esp32_acm.c')
0 files changed, 0 insertions, 0 deletions