hc
2024-05-11 04dd17822334871b23ea2862f7798fb0e0007777
kernel/arch/alpha/include/asm/core_apecs.h
....@@ -384,7 +384,7 @@
384384 } \
385385 } while (0)
386386
387
-__EXTERN_INLINE unsigned int apecs_ioread8(void __iomem *xaddr)
387
+__EXTERN_INLINE unsigned int apecs_ioread8(const void __iomem *xaddr)
388388 {
389389 unsigned long addr = (unsigned long) xaddr;
390390 unsigned long result, base_and_type;
....@@ -420,7 +420,7 @@
420420 *(vuip) ((addr << 5) + base_and_type) = w;
421421 }
422422
423
-__EXTERN_INLINE unsigned int apecs_ioread16(void __iomem *xaddr)
423
+__EXTERN_INLINE unsigned int apecs_ioread16(const void __iomem *xaddr)
424424 {
425425 unsigned long addr = (unsigned long) xaddr;
426426 unsigned long result, base_and_type;
....@@ -456,7 +456,7 @@
456456 *(vuip) ((addr << 5) + base_and_type) = w;
457457 }
458458
459
-__EXTERN_INLINE unsigned int apecs_ioread32(void __iomem *xaddr)
459
+__EXTERN_INLINE unsigned int apecs_ioread32(const void __iomem *xaddr)
460460 {
461461 unsigned long addr = (unsigned long) xaddr;
462462 if (addr < APECS_DENSE_MEM)