summaryrefslogtreecommitdiff
path: root/kernel/livepatch/patch.c
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2026-06-22 07:29:39 -1000
committerTejun Heo <tj@kernel.org>2026-06-22 10:41:26 -1000
commit3cd1f76be638b7386201171e7bb4c88095774dd5 (patch)
tree8a05618fe2d5d1ab2a1d22f19279df61b559f9b9 /kernel/livepatch/patch.c
parentbba2c3615bd6cfee7456d1130f2e6b01b3f4e9ba (diff)
sched_ext: Make kernel/sched/ext/ sources self-contained for clangd
The sources under kernel/sched/ext/ build as a single translation unit: build_policy.c includes the source files and headers. An LSP/clangd editor parses each as a standalone unit, sees no types, and reports a flood of errors. Give each header its dependencies and include guard, and have each source include the headers it uses. ext.c, arena.c and the ext headers now parse clean standalone. idle.c and cid.c still reference a few macros and helpers defined in ext.c. The next patch moves those to shared headers. Suggested-by: Peter Zijlstra <peterz@infradead.org> Signed-off-by: Tejun Heo <tj@kernel.org> Reviewed-by: Andrea Righi <arighi@nvidia.com>
Diffstat (limited to 'kernel/livepatch/patch.c')
0 files changed, 0 insertions, 0 deletions