Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 47253
b: refs/heads/master
c: 9340b0d
h: refs/heads/master
i:
  47251: 9080674
v: v3
  • Loading branch information
Al Viro authored and Linus Torvalds committed Feb 9, 2007
1 parent 083e452 commit 3b8bd8c
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ccbebdaccf53ef21663d3bde0ab7b3806d0aeb94
refs/heads/master: 9340b0d356ee52783121af398fa6a332e19e37e2
5 changes: 3 additions & 2 deletions trunk/arch/powerpc/platforms/cell/iommu.c
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,8 @@ static int cbe_nr_iommus;
static void invalidate_tce_cache(struct cbe_iommu *iommu, unsigned long *pte,
long n_ptes)
{
unsigned long *reg, val;
unsigned long __iomem *reg;
unsigned long val;
long n;

reg = iommu->xlate_regs + IOC_IOPT_CacheInvd;
Expand Down Expand Up @@ -592,7 +593,7 @@ static void __init cell_iommu_init_one(struct device_node *np, unsigned long off
/* Init base fields */
i = cbe_nr_iommus++;
iommu = &iommus[i];
iommu->stab = 0;
iommu->stab = NULL;
iommu->nid = nid;
snprintf(iommu->name, sizeof(iommu->name), "iommu%d", i);
INIT_LIST_HEAD(&iommu->windows);
Expand Down
4 changes: 2 additions & 2 deletions trunk/arch/powerpc/platforms/chrp/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ extern irqreturn_t xmon_irq(int, void *);
extern unsigned long loops_per_jiffy;

/* To be replaced by RTAS when available */
static unsigned int *briq_SPOR;
static unsigned int __iomem *briq_SPOR;

#ifdef CONFIG_SMP
extern struct smp_ops_t chrp_smp_ops;
Expand Down Expand Up @@ -267,7 +267,7 @@ void __init chrp_setup_arch(void)
} else if (machine && strncmp(machine, "TotalImpact,BRIQ-1", 18) == 0) {
_chrp_type = _CHRP_briq;
/* Map the SPOR register on briq and change the restart hook */
briq_SPOR = (unsigned int *)ioremap(0xff0000e8, 4);
briq_SPOR = ioremap(0xff0000e8, 4);
ppc_md.restart = briq_restart;
} else {
/* Let's assume it is an IBM chrp if all else fails */
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/powerpc/xmon/spu-dis.c
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ get_index_for_opcode (unsigned int insn)
if ((index = spu_disassemble_table[opcode & 0x7ff]) != 0)
return index;

return 0;
return NULL;
}

/* Print a Spu instruction. */
Expand Down

0 comments on commit 3b8bd8c

Please sign in to comment.