On 14.09.2023 16:56, Oleksii Kurochko wrote:
> The patch introduces header stub necessry for full Xen build.
>
> Signed-off-by: Oleksii Kurochko <[email protected]>
I agree this one can be generalized from Arm's, but ...
> --- /dev/null
> +++ b/xen/include/asm-generic/hardirq.h
> @@ -0,0 +1,27 @@
> +/* SPDX-License-Identifier: GPL-2.0-only */
> +#ifndef __ASM_GENERIC_HARDIRQ_H
> +#define __ASM_GENERIC_HARDIRQ_H
> +
> +#include <xen/smp.h>
> +
> +typedef struct {
> + unsigned long __softirq_pending;
> + unsigned int __local_irq_count;
> +} __cacheline_aligned irq_cpustat_t;
... where is __cacheline_aligned going to come from without inclusion
of xen/cache.h (as Arm has it)?
Jan