]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
[POWERPC] spufs: Trivial whitespace fixes
authorJeremy Kerr <jk@ozlabs.org>
Fri, 29 Jun 2007 00:58:00 +0000 (10:58 +1000)
committerPaul Mackerras <paulus@samba.org>
Tue, 3 Jul 2007 05:24:45 +0000 (15:24 +1000)
Remove redundant whitespace in arch/powerpc/platforms/cell/spufs/

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/platforms/cell/spufs/file.c
arch/powerpc/platforms/cell/spufs/sched.c
arch/powerpc/platforms/cell/spufs/spu_restore.c
arch/powerpc/platforms/cell/spufs/spufs.h
arch/powerpc/platforms/cell/spufs/switch.c

index f1cecaaad984537a522a8d06facd33613c183756..2e84ed5ae67b5e17fa339eb55d6a2b155d3e3ec1 100644 (file)
@@ -218,12 +218,12 @@ unsigned long spufs_get_unmapped_area(struct file *file, unsigned long addr,
 #endif /* CONFIG_SPU_FS_64K_LS */
 
 static const struct file_operations spufs_mem_fops = {
-       .open                   = spufs_mem_open,
-       .release                = spufs_mem_release,
-       .read                   = spufs_mem_read,
-       .write                  = spufs_mem_write,
-       .llseek                 = generic_file_llseek,
-       .mmap                   = spufs_mem_mmap,
+       .open                   = spufs_mem_open,
+       .release                = spufs_mem_release,
+       .read                   = spufs_mem_read,
+       .write                  = spufs_mem_write,
+       .llseek                 = generic_file_llseek,
+       .mmap                   = spufs_mem_mmap,
 #ifdef CONFIG_SPU_FS_64K_LS
        .get_unmapped_area      = spufs_get_unmapped_area,
 #endif
index 7bb5229b1e3c7b002cf388fd79a148969ea418d1..4381dd00d2317935cfdb90c9431bde4ee6590ee7 100644 (file)
@@ -536,7 +536,7 @@ static void spusched_tick(struct spu_context *ctx)
         * tick and try again.
         */
        if (mutex_trylock(&ctx->state_mutex)) {
-               struct spu *spu = ctx->spu;
+               struct spu *spu = ctx->spu;
                struct spu_context *new;
 
                new = grab_runnable_context(ctx->prio + 1, spu->node);
index 0bf723dcd677fea39248c6729eef9e554a5582e1..4e19ed7a07568b67991e4e1fce53ca1e9ee65cec 100644 (file)
@@ -296,7 +296,7 @@ static inline void restore_complete(void)
  * This code deviates from the documented sequence in the
  * following aspects:
  *
- *     1. The EA for LSCSA is passed from PPE in the
+ *     1. The EA for LSCSA is passed from PPE in the
  *        signal notification channels.
  *     2. The register spill area is pulled by SPU
  *        into LS, rather than pushed by PPE.
index 98d3c18b2b6fc391c6c0ddd68bac2a1ac750a170..dab8858b6995924cf10d9c598ce987934cfef120 100644 (file)
@@ -78,7 +78,7 @@ struct spu_context {
        struct spu_gang *gang;
 
        /* scheduler fields */
-       struct list_head rq;
+       struct list_head rq;
        unsigned int time_slice;
        unsigned long sched_flags;
        cpumask_t cpus_allowed;
@@ -206,7 +206,7 @@ extern char *isolated_loader;
 
 /*
  * spufs_wait
- *     Same as wait_event_interruptible(), except that here
+ *     Same as wait_event_interruptible(), except that here
  *     we need to call spu_release(ctx) before sleeping, and
  *     then spu_acquire(ctx) when awoken.
  */
index 71a0b41adb8c8ed320ba2325716f491ec99b34e0..881485847ac08c5b00e82cb119645250e6df6121 100644 (file)
@@ -70,7 +70,7 @@
   }
 #endif                         /* debug */
 
-#define POLL_WHILE_FALSE(_c)   POLL_WHILE_TRUE(!(_c))
+#define POLL_WHILE_FALSE(_c)   POLL_WHILE_TRUE(!(_c))
 
 static inline void acquire_spu_lock(struct spu *spu)
 {
@@ -1930,7 +1930,7 @@ static void harvest(struct spu_state *prev, struct spu *spu)
        reset_spu_privcntl(prev, spu);          /* Step 16. */
        reset_spu_lslr(prev, spu);              /* Step 17. */
        setup_mfc_sr1(prev, spu);               /* Step 18. */
-       spu_invalidate_slbs(spu);               /* Step 19. */
+       spu_invalidate_slbs(spu);               /* Step 19. */
        reset_ch_part1(prev, spu);              /* Step 20. */
        reset_ch_part2(prev, spu);              /* Step 21. */
        enable_interrupts(prev, spu);           /* Step 22. */