diff options
author | Jeremy Kerr <jk@ozlabs.org> | 2007-06-28 20:58:00 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-07-03 01:24:45 -0400 |
commit | 7022543ee404880aab5c641e4983e237815edc35 (patch) | |
tree | 0f8e871ce92aa4e46a3089b05f1f2d7ee53351fe /arch | |
parent | b8c295f90854d682018d74599efc258628be32e3 (diff) |
[POWERPC] spufs: Trivial whitespace fixes
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>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/powerpc/platforms/cell/spufs/file.c | 12 | ||||
-rw-r--r-- | arch/powerpc/platforms/cell/spufs/sched.c | 2 | ||||
-rw-r--r-- | arch/powerpc/platforms/cell/spufs/spu_restore.c | 2 | ||||
-rw-r--r-- | arch/powerpc/platforms/cell/spufs/spufs.h | 4 | ||||
-rw-r--r-- | arch/powerpc/platforms/cell/spufs/switch.c | 4 |
5 files changed, 12 insertions, 12 deletions
diff --git a/arch/powerpc/platforms/cell/spufs/file.c b/arch/powerpc/platforms/cell/spufs/file.c index f1cecaaad984..2e84ed5ae67b 100644 --- a/arch/powerpc/platforms/cell/spufs/file.c +++ b/arch/powerpc/platforms/cell/spufs/file.c | |||
@@ -218,12 +218,12 @@ unsigned long spufs_get_unmapped_area(struct file *file, unsigned long addr, | |||
218 | #endif /* CONFIG_SPU_FS_64K_LS */ | 218 | #endif /* CONFIG_SPU_FS_64K_LS */ |
219 | 219 | ||
220 | static const struct file_operations spufs_mem_fops = { | 220 | static const struct file_operations spufs_mem_fops = { |
221 | .open = spufs_mem_open, | 221 | .open = spufs_mem_open, |
222 | .release = spufs_mem_release, | 222 | .release = spufs_mem_release, |
223 | .read = spufs_mem_read, | 223 | .read = spufs_mem_read, |
224 | .write = spufs_mem_write, | 224 | .write = spufs_mem_write, |
225 | .llseek = generic_file_llseek, | 225 | .llseek = generic_file_llseek, |
226 | .mmap = spufs_mem_mmap, | 226 | .mmap = spufs_mem_mmap, |
227 | #ifdef CONFIG_SPU_FS_64K_LS | 227 | #ifdef CONFIG_SPU_FS_64K_LS |
228 | .get_unmapped_area = spufs_get_unmapped_area, | 228 | .get_unmapped_area = spufs_get_unmapped_area, |
229 | #endif | 229 | #endif |
diff --git a/arch/powerpc/platforms/cell/spufs/sched.c b/arch/powerpc/platforms/cell/spufs/sched.c index 7bb5229b1e3c..4381dd00d231 100644 --- a/arch/powerpc/platforms/cell/spufs/sched.c +++ b/arch/powerpc/platforms/cell/spufs/sched.c | |||
@@ -536,7 +536,7 @@ static void spusched_tick(struct spu_context *ctx) | |||
536 | * tick and try again. | 536 | * tick and try again. |
537 | */ | 537 | */ |
538 | if (mutex_trylock(&ctx->state_mutex)) { | 538 | if (mutex_trylock(&ctx->state_mutex)) { |
539 | struct spu *spu = ctx->spu; | 539 | struct spu *spu = ctx->spu; |
540 | struct spu_context *new; | 540 | struct spu_context *new; |
541 | 541 | ||
542 | new = grab_runnable_context(ctx->prio + 1, spu->node); | 542 | new = grab_runnable_context(ctx->prio + 1, spu->node); |
diff --git a/arch/powerpc/platforms/cell/spufs/spu_restore.c b/arch/powerpc/platforms/cell/spufs/spu_restore.c index 0bf723dcd677..4e19ed7a0756 100644 --- a/arch/powerpc/platforms/cell/spufs/spu_restore.c +++ b/arch/powerpc/platforms/cell/spufs/spu_restore.c | |||
@@ -296,7 +296,7 @@ static inline void restore_complete(void) | |||
296 | * This code deviates from the documented sequence in the | 296 | * This code deviates from the documented sequence in the |
297 | * following aspects: | 297 | * following aspects: |
298 | * | 298 | * |
299 | * 1. The EA for LSCSA is passed from PPE in the | 299 | * 1. The EA for LSCSA is passed from PPE in the |
300 | * signal notification channels. | 300 | * signal notification channels. |
301 | * 2. The register spill area is pulled by SPU | 301 | * 2. The register spill area is pulled by SPU |
302 | * into LS, rather than pushed by PPE. | 302 | * into LS, rather than pushed by PPE. |
diff --git a/arch/powerpc/platforms/cell/spufs/spufs.h b/arch/powerpc/platforms/cell/spufs/spufs.h index 98d3c18b2b6f..dab8858b6995 100644 --- a/arch/powerpc/platforms/cell/spufs/spufs.h +++ b/arch/powerpc/platforms/cell/spufs/spufs.h | |||
@@ -78,7 +78,7 @@ struct spu_context { | |||
78 | struct spu_gang *gang; | 78 | struct spu_gang *gang; |
79 | 79 | ||
80 | /* scheduler fields */ | 80 | /* scheduler fields */ |
81 | struct list_head rq; | 81 | struct list_head rq; |
82 | unsigned int time_slice; | 82 | unsigned int time_slice; |
83 | unsigned long sched_flags; | 83 | unsigned long sched_flags; |
84 | cpumask_t cpus_allowed; | 84 | cpumask_t cpus_allowed; |
@@ -206,7 +206,7 @@ extern char *isolated_loader; | |||
206 | 206 | ||
207 | /* | 207 | /* |
208 | * spufs_wait | 208 | * spufs_wait |
209 | * Same as wait_event_interruptible(), except that here | 209 | * Same as wait_event_interruptible(), except that here |
210 | * we need to call spu_release(ctx) before sleeping, and | 210 | * we need to call spu_release(ctx) before sleeping, and |
211 | * then spu_acquire(ctx) when awoken. | 211 | * then spu_acquire(ctx) when awoken. |
212 | */ | 212 | */ |
diff --git a/arch/powerpc/platforms/cell/spufs/switch.c b/arch/powerpc/platforms/cell/spufs/switch.c index 71a0b41adb8c..881485847ac0 100644 --- a/arch/powerpc/platforms/cell/spufs/switch.c +++ b/arch/powerpc/platforms/cell/spufs/switch.c | |||
@@ -70,7 +70,7 @@ | |||
70 | } | 70 | } |
71 | #endif /* debug */ | 71 | #endif /* debug */ |
72 | 72 | ||
73 | #define POLL_WHILE_FALSE(_c) POLL_WHILE_TRUE(!(_c)) | 73 | #define POLL_WHILE_FALSE(_c) POLL_WHILE_TRUE(!(_c)) |
74 | 74 | ||
75 | static inline void acquire_spu_lock(struct spu *spu) | 75 | static inline void acquire_spu_lock(struct spu *spu) |
76 | { | 76 | { |
@@ -1930,7 +1930,7 @@ static void harvest(struct spu_state *prev, struct spu *spu) | |||
1930 | reset_spu_privcntl(prev, spu); /* Step 16. */ | 1930 | reset_spu_privcntl(prev, spu); /* Step 16. */ |
1931 | reset_spu_lslr(prev, spu); /* Step 17. */ | 1931 | reset_spu_lslr(prev, spu); /* Step 17. */ |
1932 | setup_mfc_sr1(prev, spu); /* Step 18. */ | 1932 | setup_mfc_sr1(prev, spu); /* Step 18. */ |
1933 | spu_invalidate_slbs(spu); /* Step 19. */ | 1933 | spu_invalidate_slbs(spu); /* Step 19. */ |
1934 | reset_ch_part1(prev, spu); /* Step 20. */ | 1934 | reset_ch_part1(prev, spu); /* Step 20. */ |
1935 | reset_ch_part2(prev, spu); /* Step 21. */ | 1935 | reset_ch_part2(prev, spu); /* Step 21. */ |
1936 | enable_interrupts(prev, spu); /* Step 22. */ | 1936 | enable_interrupts(prev, spu); /* Step 22. */ |