diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2020-10-25 00:35:08 +0300 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2020-10-28 22:26:25 +0300 |
commit | 8c44963b603db76e3e5f57d90d027657ba43c1fe (patch) | |
tree | c5d409d07f3010c84388bef71edbab24485607f5 /arch/x86/include/asm/apic.h | |
parent | e57d04e5fa00f7649d4c00796f8d12054799be4a (diff) | |
download | linux-8c44963b603db76e3e5f57d90d027657ba43c1fe.tar.xz |
x86/apic: Cleanup destination mode
apic::irq_dest_mode is actually a boolean, but defined as u32 and named in
a way which does not explain what it means.
Make it a boolean and rename it to 'dest_mode_logical'
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: David Woodhouse <dwmw@amazon.co.uk>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/r/20201024213535.443185-9-dwmw2@infradead.org
Diffstat (limited to 'arch/x86/include/asm/apic.h')
-rw-r--r-- | arch/x86/include/asm/apic.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/include/asm/apic.h b/arch/x86/include/asm/apic.h index e230ed2d88e2..c1f64c6fa357 100644 --- a/arch/x86/include/asm/apic.h +++ b/arch/x86/include/asm/apic.h @@ -309,7 +309,7 @@ struct apic { u32 disable_esr; enum apic_delivery_modes delivery_mode; - u32 irq_dest_mode; + bool dest_mode_logical; u32 (*calc_dest_apicid)(unsigned int cpu); |