]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[POWERPC] cell spufs iomem annotations
authorAl Viro <viro@ftp.linux.org.uk>
Sat, 23 Sep 2006 00:37:41 +0000 (01:37 +0100)
committerPaul Mackerras <paulus@samba.org>
Tue, 26 Sep 2006 05:25:33 +0000 (15:25 +1000)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/platforms/cell/spu_base.c
arch/powerpc/platforms/cell/spufs/hw_ops.c

index 3bd36d46ab4ae4f6b24dbe14c0dd1c18b2b57cdd..0f5c8ebc7fc3378ff93ee4a270871884007d7762 100644 (file)
@@ -538,7 +538,7 @@ static void __iomem * __init map_spe_prop(struct spu *spu,
 
        const void *p;
        int proplen;
-       voidret = NULL;
+       void __iomem *ret = NULL;
        int err = 0;
 
        p = get_property(n, name, &proplen);
@@ -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 */
index c8670f519734aab795e40d4fc8b10e247b9dccbb..efc452e71ab0f03b93b4d3178d28cc05ef1200c1 100644 (file)
@@ -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);
@@ -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);