Commit dc39134c authored by Kai Germaschewski's avatar Kai Germaschewski

kbuild: Make per-cpu-check ignore __crc_ symbols.

We warn when symbols end in __per_cpu, but aren't in the per-cpu section.
However, checksum symbols gave false positives.
parent f01dc2a7
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
IN_PER_CPU=0 IN_PER_CPU=0
} }
/__per_cpu$$/ && ! ( / __ksymtab_/ || / __kstrtab_/ || / __kcrctab_/ ) { /__per_cpu$$/ && ! ( / __ksymtab_/ || / __kstrtab_/ || / __kcrctab_/ || / __crc_/ ) {
if (!IN_PER_CPU) { if (!IN_PER_CPU) {
print $$3 " not in per-cpu section" > "/dev/stderr"; print $$3 " not in per-cpu section" > "/dev/stderr";
FOUND=1; FOUND=1;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment