commit | 0bb4cb66b0ed194bd443a21fded24da919cd8cc5 | [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 13 18:40:20 2022 -0700 |
tree | 7397da0363da839b53ae6d60800b43d574e72397 | |
parent | 2ba8778e2b30c114a4c9902c6f3ead2aa2b66f39 [diff] |
[PATCH] 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>