[PATCH RFC 10/11] parisc: use hw_pte_t for the data-break callback
From: Muhammad Usama Anjum
Date: Mon Jul 27 2026 - 13:01:08 EST
The DEBUG_DMB_TRAP path passes set_data_memory_break() to iterate_pages()
for PTE table storage. Update the local set_data_memory_break() declaration
to take hw_pte_t * so its argument is identified as table storage.
The generic hw_pte_t alias makes this a type-only change.
Signed-off-by: Muhammad Usama Anjum <usama.anjum@xxxxxxx>
---
drivers/parisc/sba_iommu.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/parisc/sba_iommu.c b/drivers/parisc/sba_iommu.c
index d9339dd508262..27a7efe3e0a70 100644
--- a/drivers/parisc/sba_iommu.c
+++ b/drivers/parisc/sba_iommu.c
@@ -1697,9 +1697,9 @@ sba_common_init(struct sba_device *sba_dev)
int res_size;
#ifdef DEBUG_DMB_TRAP
extern void iterate_pages(unsigned long , unsigned long ,
- void (*)(pte_t * , unsigned long),
+ void (*)(hw_pte_t *, unsigned long),
unsigned long );
- void set_data_memory_break(pte_t * , unsigned long);
+ void set_data_memory_break(hw_pte_t *, unsigned long);
#endif
/* resource map size dictated by pdir_size */
res_size = sba_dev->ioc[i].pdir_size/sizeof(u64); /* entries */
--
2.47.3