Skip to content

Commit

Permalink
parisc/pdc: Add width field to struct pdc_model
Browse files Browse the repository at this point in the history
PDC2.0 specifies the additional PSW-bit field.

Signed-off-by: Helge Deller <deller@gmx.de>
Cc: stable@vger.kernel.org
  • Loading branch information
Helge Deller committed Oct 30, 2023
1 parent ad4aa06 commit 6240553
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arch/parisc/include/uapi/asm/pdc.h
Original file line number Diff line number Diff line change
Expand Up @@ -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) */
Expand Down

0 comments on commit 6240553

Please sign in to comment.