diff options
author | Mark Rutland <mark.rutland@arm.com> | 2023-06-05 08:01:13 +0100 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2023-06-05 09:57:19 +0200 |
commit | 7ed7a1564090fdd265f49d1ad94ee92845b14c76 (patch) | |
tree | 00709eb2a36dd9db2847b86754e10824930faa3c /include | |
parent | e40e5298e692bb6b5a200b3f0f55e6e5adf0e5ad (diff) | |
download | linux-7ed7a1564090fdd265f49d1ad94ee92845b14c76.tar.gz linux-7ed7a1564090fdd265f49d1ad94ee92845b14c76.tar.bz2 linux-7ed7a1564090fdd265f49d1ad94ee92845b14c76.zip |
locking/atomic: scripts: factor out order template generation
Currently gen_proto_order_variants() hard codes the path for the templates used
for order fallbacks. Factor this out into a helper so that it can be reused
elsewhere.
This results in no change to the generated headers, so there should be
no functional change as a result of this patch.
Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Kees Cook <keescook@chromium.org>
Link: https://lore.kernel.org/r/20230605070124.3741859-17-mark.rutland@arm.com
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions