diff options
| author | Breno Leitao <leitao@debian.org> | 2026-05-08 06:55:03 -0700 |
|---|---|---|
| committer | Masami Hiramatsu (Google) <mhiramat@kernel.org> | 2026-05-12 09:44:31 +0900 |
| commit | 5a643e4623238e14b03d75ca0d4eda0645720cee (patch) | |
| tree | 7ac920c465cef7d2568331f0486f587d3e46df0f /include/linux/debugobjects.h | |
| parent | 5d6919055dec134de3c40167a490f33c74c12581 (diff) | |
bootconfig: move xbc_snprint_cmdline() to lib/bootconfig.c
Move xbc_snprint_cmdline() from init/main.c to lib/bootconfig.c so the
function (and its xbc_namebuf scratch buffer) becomes part of the shared
parser library. tools/bootconfig already compiles lib/bootconfig.c
directly, which lets a follow-up patch reuse the same renderer in the
userspace tool to convert a bootconfig file into a flat cmdline string
at build time.
No functional change.
Link: https://lore.kernel.org/all/20260508-bootconfig_using_tools-v1-1-1132219aa773@debian.org/
Signed-off-by: Breno Leitao <leitao@debian.org>
Signed-off-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
