From: Helge Deller <deller@gmx.de>
Date: Sun, 22 Oct 2023 09:48:11 +0000 (+0200)
Subject: parisc/pdc: Add width field to struct pdc_model
X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=6240553b52c475d9fc9674de0521b77e692f3764;p=linux.git

parisc/pdc: Add width field to struct pdc_model

PDC2.0 specifies the additional PSW-bit field.

Signed-off-by: Helge Deller <deller@gmx.de>
Cc: stable@vger.kernel.org
---

diff --git a/arch/parisc/include/uapi/asm/pdc.h b/arch/parisc/include/uapi/asm/pdc.h
index cefdda9a5bdfa..fef4f2e961601 100644
--- a/arch/parisc/include/uapi/asm/pdc.h
+++ b/arch/parisc/include/uapi/asm/pdc.h
@@ -472,6 +472,7 @@ struct pdc_model {		/* for PDC_MODEL */
 	unsigned long arch_rev;
 	unsigned long pot_key;
 	unsigned long curr_key;
+	unsigned long width;	/* default of PSW_W bit (1=enabled) */
 };
 
 struct pdc_cache_cf {		/* for PDC_CACHE  (I/D-caches) */