···149149static void invalidate_tce_cache(struct cbe_iommu *iommu, unsigned long *pte,150150 long n_ptes)151151{152152- unsigned long *reg, val;152152+ unsigned long __iomem *reg;153153+ unsigned long val;153154 long n;154155155156 reg = iommu->xlate_regs + IOC_IOPT_CacheInvd;···593592 /* Init base fields */594593 i = cbe_nr_iommus++;595594 iommu = &iommus[i];596596- iommu->stab = 0;595595+ iommu->stab = NULL;597596 iommu->nid = nid;598597 snprintf(iommu->name, sizeof(iommu->name), "iommu%d", i);599598 INIT_LIST_HEAD(&iommu->windows);
+2-2
arch/powerpc/platforms/chrp/setup.c
···7575extern unsigned long loops_per_jiffy;76767777/* To be replaced by RTAS when available */7878-static unsigned int *briq_SPOR;7878+static unsigned int __iomem *briq_SPOR;79798080#ifdef CONFIG_SMP8181extern struct smp_ops_t chrp_smp_ops;···267267 } else if (machine && strncmp(machine, "TotalImpact,BRIQ-1", 18) == 0) {268268 _chrp_type = _CHRP_briq;269269 /* Map the SPOR register on briq and change the restart hook */270270- briq_SPOR = (unsigned int *)ioremap(0xff0000e8, 4);270270+ briq_SPOR = ioremap(0xff0000e8, 4);271271 ppc_md.restart = briq_restart;272272 } else {273273 /* Let's assume it is an IBM chrp if all else fails */
+1-1
arch/powerpc/xmon/spu-dis.c
···8585 if ((index = spu_disassemble_table[opcode & 0x7ff]) != 0)8686 return index;87878888- return 0;8888+ return NULL;8989}90909191/* Print a Spu instruction. */