diff options
| author | Michael Roth <michael.roth@amd.com> | 2024-02-18 23:35:02 -0600 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2024-04-23 17:35:25 +0200 |
| commit | 66210a1a30f2384bb59f9dad8d769dba56dd30f1 (patch) | |
| tree | d1f46f1a2f9db721e14a334e1d003f1b147f0a9b /linux-headers/linux | |
| parent | a14a2b0148e657cc526b7a75f2a1937628764e7a (diff) | |
| download | focaccia-qemu-66210a1a30f2384bb59f9dad8d769dba56dd30f1.tar.gz focaccia-qemu-66210a1a30f2384bb59f9dad8d769dba56dd30f1.zip | |
scripts/update-linux-headers: Add setup_data.h to import list
Data structures like struct setup_data have been moved to a separate setup_data.h header which bootparam.h relies on. Add setup_data.h to the cp_portable() list and sync it along with the other header files. Note that currently struct setup_data is stripped away as part of generating bootparam.h, but that handling is no currently needed for setup_data.h since it doesn't pull in many external headers/dependencies. However, QEMU currently redefines struct setup_data in hw/i386/x86.c, so that will need to be removed as part of any header update that pulls in the new setup_data.h to avoid build bisect breakage. Because <asm/setup_data.h> is the first architecture specific #include in include/standard-headers/, add a new sed substitution to rewrite asm/ include to the standard-headers/asm-* subdirectory for the current architecture. And while at it, remove asm-generic/kvm_para.h from the list of allowed includes: it does not have a matching substitution, and therefore it would not be possible to use it on non-Linux systems where there is no /usr/include/asm-generic/ directory. Signed-off-by: Michael Roth <michael.roth@amd.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'linux-headers/linux')
0 files changed, 0 insertions, 0 deletions