On 2022-10-05 21:09:13 [+0200], Daniel Wagner wrote: > IIRC, local_lock_t is just part of the -rt set. It looks like I need the > same fix as Mark for !rt builds. The 'struct local_irq_lock' type is > unknown > > 2022-10-05 20:50:36 - /home/wagi/rt/v4.19-rt/drivers/char/random.c:233:31: error: field ‘lock’ has incomplete type > 2022-10-05 20:50:36 - 233 | struct local_irq_lock lock; > > Shall I wrap it in a #ifdef section? https://lkml.kernel.org/r/YzcEIU17EIZ7ZIF5@xxxxxxxxxxxxx Sebastian