Skip to content

Commit

Permalink
[POWERPC] cell spufs iomem annotations
Browse files Browse the repository at this point in the history
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Paul Mackerras <paulus@samba.org>
  • Loading branch information
Al Viro authored and Paul Mackerras committed Sep 26, 2006
1 parent e45d663 commit ed2bfcd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions arch/powerpc/platforms/cell/spu_base.c
Original file line number Diff line number Diff line change
Expand Up @@ -538,7 +538,7 @@ static void __iomem * __init map_spe_prop(struct spu *spu,

const void *p;
int proplen;
void* ret = NULL;
void __iomem *ret = NULL;
int err = 0;

p = get_property(n, name, &proplen);
Expand All @@ -562,7 +562,7 @@ static void spu_unmap(struct spu *spu)
iounmap(spu->priv2);
iounmap(spu->priv1);
iounmap(spu->problem);
iounmap((u8 __iomem *)spu->local_store);
iounmap((__force u8 __iomem *)spu->local_store);
}

/* This function shall be abstracted for HV platforms */
Expand Down
4 changes: 2 additions & 2 deletions arch/powerpc/platforms/cell/spufs/hw_ops.c
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ static void spu_hw_runcntl_stop(struct spu_context *ctx)

static int spu_hw_set_mfc_query(struct spu_context * ctx, u32 mask, u32 mode)
{
struct spu_problem *prob = ctx->spu->problem;
struct spu_problem __iomem *prob = ctx->spu->problem;
int ret;

spin_lock_irq(&ctx->spu->register_lock);
Expand Down Expand Up @@ -263,7 +263,7 @@ static int spu_hw_send_mfc_command(struct spu_context *ctx,
struct mfc_dma_command *cmd)
{
u32 status;
struct spu_problem *prob = ctx->spu->problem;
struct spu_problem __iomem *prob = ctx->spu->problem;

spin_lock_irq(&ctx->spu->register_lock);
out_be32(&prob->mfc_lsa_W, cmd->lsa);
Expand Down

0 comments on commit ed2bfcd

Please sign in to comment.