commit | 23500b1d02b83291d7afe1894fce5156369e5263 | [log] [tgz] |
---|---|---|
author | Sebastian Andrzej Siewior <bigeasy@linutronix.de> | Thu Oct 13 18:36:24 2022 -0700 |
committer | Mark Gross <markgross@kernel.org> | Thu Oct 27 14:33:56 2022 -0700 |
tree | 05d40ee6f11493f22181dec51fed30e6ee6c7ff2 | |
parent | b78aaa5fdfcb26a97da0fcae15430ddb0b54b4bb [diff] |
local_lock: Provide INIT_LOCAL_LOCK(). The original code was using INIT_LOCAL_LOCK() and I tried to sneak around it and forgot that this code also needs to compile on !RT platforms. Provide INIT_LOCAL_LOCK() to initialize properly on RT and do nothing on !RT. Let random.c use which is the only user so far and oes not compile on !RT otherwise. Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>