Created attachment 569090 [details, diff] patch correcting some typos file arch/x86/events/perf_event.h contains struct cpu_hw_events { ... } but also some pointer definitions struct cpu_hw_event * (note the missing trailing 's') which breaks the compilation of the kernel. A patch is attached.
Patch works fine. Thanks!
Thanks for the patch
Confirming the patch works. Thanks!
Can I have your .config that produces the compilation error?
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/arch/x86/events/perf_event.h?id=f764c58b7faa26f5714e6907f892abc2bc0de4f8