]> git.itanic.dy.fi Git - linux-stable/commitdiff
parisc/pdc: Add width field to struct pdc_model
authorHelge Deller <deller@gmx.de>
Sun, 22 Oct 2023 09:48:11 +0000 (11:48 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 28 Nov 2023 16:54:56 +0000 (16:54 +0000)
commit 6240553b52c475d9fc9674de0521b77e692f3764 upstream.

PDC2.0 specifies the additional PSW-bit field.

Signed-off-by: Helge Deller <deller@gmx.de>
Cc: stable@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/parisc/include/uapi/asm/pdc.h

index 15211723ebf543dba726d33b47c6565e7f48698a..ee903551ae105fe9467c7da8a9761a8aad55f5f2 100644 (file)
@@ -465,6 +465,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) */