Squashed backup commit (no shallow-clone history issues) of xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2 branch, upstream commit 9eece662e) plus all fixes applied to get everpal_defconfig building clean against a modern (GCC 15.2.0) toolchain -- see the previous commit message on the lineage-23.2 branch (also in this repo history is not available here since this is a squashed snapshot; full incremental history lives in the local DL380 checkout and the upstream GitHub remote). Upstream: https://github.com/xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2)
39 lines
907 B
C
39 lines
907 B
C
/*
|
|
* This file is subject to the terms and conditions of the GNU General Public
|
|
* License. See the file "COPYING" in the main directory of this archive
|
|
* for more details.
|
|
*
|
|
* SGI UV IRQ definitions
|
|
*
|
|
* Copyright (C) 2008 Silicon Graphics, Inc. All rights reserved.
|
|
*/
|
|
|
|
#ifndef _ASM_X86_UV_UV_IRQ_H
|
|
#define _ASM_X86_UV_UV_IRQ_H
|
|
|
|
/* If a generic version of this structure gets defined, eliminate this one. */
|
|
struct uv_IO_APIC_route_entry {
|
|
__u64 vector : 8,
|
|
delivery_mode : 3,
|
|
dest_mode : 1,
|
|
delivery_status : 1,
|
|
polarity : 1,
|
|
__reserved_1 : 1,
|
|
trigger : 1,
|
|
mask : 1,
|
|
__reserved_2 : 15,
|
|
dest : 32;
|
|
};
|
|
|
|
enum {
|
|
UV_AFFINITY_ALL,
|
|
UV_AFFINITY_NODE,
|
|
UV_AFFINITY_CPU
|
|
};
|
|
|
|
extern int uv_irq_2_mmr_info(int, unsigned long *, int *);
|
|
extern int uv_setup_irq(char *, int, int, unsigned long, int);
|
|
extern void uv_teardown_irq(unsigned int);
|
|
|
|
#endif /* _ASM_X86_UV_UV_IRQ_H */
|