Message ID | bd57ae1fd448b7d2f4188ff705bb5f537ac48521.1694702259.git.oleksii.kurochko@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | Introduce stub headers necessary for full Xen build | expand |
On 14.09.2023 16:56, Oleksii Kurochko wrote: > --- /dev/null > +++ b/xen/include/asm-generic/hypercall.h > @@ -0,0 +1,14 @@ > +/* SPDX-License-Identifier: GPL-2.0-only */ > +#ifndef __ASM_GENERIC_HYPERCALL_H__ > +#define __ASM_GENERIC_HYPERCALL_H__ > + > +#endif /* __ASM_GENERIC_HYPERCALL_H__ */ This lacks the "should not be included directly" guard that x86 and Arm headers have. Jan
On Thu, 2023-10-19 at 11:24 +0200, Jan Beulich wrote: > On 14.09.2023 16:56, Oleksii Kurochko wrote: > > --- /dev/null > > +++ b/xen/include/asm-generic/hypercall.h > > @@ -0,0 +1,14 @@ > > +/* SPDX-License-Identifier: GPL-2.0-only */ > > +#ifndef __ASM_GENERIC_HYPERCALL_H__ > > +#define __ASM_GENERIC_HYPERCALL_H__ > > + > > +#endif /* __ASM_GENERIC_HYPERCALL_H__ */ > > This lacks the "should not be included directly" guard that x86 and > Arm > headers have. Thanks. I'll add it. ~ Oleksii
diff --git a/xen/include/asm-generic/hypercall.h b/xen/include/asm-generic/hypercall.h new file mode 100644 index 0000000000..d89196fb3e --- /dev/null +++ b/xen/include/asm-generic/hypercall.h @@ -0,0 +1,14 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ +#ifndef __ASM_GENERIC_HYPERCALL_H__ +#define __ASM_GENERIC_HYPERCALL_H__ + +#endif /* __ASM_GENERIC_HYPERCALL_H__ */ + +/* + * Local variables: + * mode: C + * c-file-style: "BSD" + * c-basic-offset: 4 + * indent-tabs-mode: nil + * End: + */
The patch introduces header stub necessry for full Xen build. Signed-off-by: Oleksii Kurochko <oleksii.kurochko@gmail.com> --- xen/include/asm-generic/hypercall.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 xen/include/asm-generic/hypercall.h