Commit 7022543e authored by Jeremy Kerr's avatar Jeremy Kerr Committed by Paul Mackerras

[POWERPC] spufs: Trivial whitespace fixes

Remove redundant whitespace in arch/powerpc/platforms/cell/spufs/
Signed-off-by: default avatarJeremy Kerr <jk@ozlabs.org>
Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
parent b8c295f9
...@@ -218,12 +218,12 @@ unsigned long spufs_get_unmapped_area(struct file *file, unsigned long addr, ...@@ -218,12 +218,12 @@ unsigned long spufs_get_unmapped_area(struct file *file, unsigned long addr,
#endif /* CONFIG_SPU_FS_64K_LS */ #endif /* CONFIG_SPU_FS_64K_LS */
static const struct file_operations spufs_mem_fops = { static const struct file_operations spufs_mem_fops = {
.open = spufs_mem_open, .open = spufs_mem_open,
.release = spufs_mem_release, .release = spufs_mem_release,
.read = spufs_mem_read, .read = spufs_mem_read,
.write = spufs_mem_write, .write = spufs_mem_write,
.llseek = generic_file_llseek, .llseek = generic_file_llseek,
.mmap = spufs_mem_mmap, .mmap = spufs_mem_mmap,
#ifdef CONFIG_SPU_FS_64K_LS #ifdef CONFIG_SPU_FS_64K_LS
.get_unmapped_area = spufs_get_unmapped_area, .get_unmapped_area = spufs_get_unmapped_area,
#endif #endif
......
...@@ -536,7 +536,7 @@ static void spusched_tick(struct spu_context *ctx) ...@@ -536,7 +536,7 @@ static void spusched_tick(struct spu_context *ctx)
* tick and try again. * tick and try again.
*/ */
if (mutex_trylock(&ctx->state_mutex)) { if (mutex_trylock(&ctx->state_mutex)) {
struct spu *spu = ctx->spu; struct spu *spu = ctx->spu;
struct spu_context *new; struct spu_context *new;
new = grab_runnable_context(ctx->prio + 1, spu->node); new = grab_runnable_context(ctx->prio + 1, spu->node);
......
...@@ -296,7 +296,7 @@ static inline void restore_complete(void) ...@@ -296,7 +296,7 @@ static inline void restore_complete(void)
* This code deviates from the documented sequence in the * This code deviates from the documented sequence in the
* following aspects: * 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. * signal notification channels.
* 2. The register spill area is pulled by SPU * 2. The register spill area is pulled by SPU
* into LS, rather than pushed by PPE. * into LS, rather than pushed by PPE.
......
...@@ -78,7 +78,7 @@ struct spu_context { ...@@ -78,7 +78,7 @@ struct spu_context {
struct spu_gang *gang; struct spu_gang *gang;
/* scheduler fields */ /* scheduler fields */
struct list_head rq; struct list_head rq;
unsigned int time_slice; unsigned int time_slice;
unsigned long sched_flags; unsigned long sched_flags;
cpumask_t cpus_allowed; cpumask_t cpus_allowed;
...@@ -206,7 +206,7 @@ extern char *isolated_loader; ...@@ -206,7 +206,7 @@ extern char *isolated_loader;
/* /*
* spufs_wait * 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 * we need to call spu_release(ctx) before sleeping, and
* then spu_acquire(ctx) when awoken. * then spu_acquire(ctx) when awoken.
*/ */
......
...@@ -70,7 +70,7 @@ ...@@ -70,7 +70,7 @@
} }
#endif /* debug */ #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) static inline void acquire_spu_lock(struct spu *spu)
{ {
...@@ -1930,7 +1930,7 @@ static void harvest(struct spu_state *prev, 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_privcntl(prev, spu); /* Step 16. */
reset_spu_lslr(prev, spu); /* Step 17. */ reset_spu_lslr(prev, spu); /* Step 17. */
setup_mfc_sr1(prev, spu); /* Step 18. */ 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_part1(prev, spu); /* Step 20. */
reset_ch_part2(prev, spu); /* Step 21. */ reset_ch_part2(prev, spu); /* Step 21. */
enable_interrupts(prev, spu); /* Step 22. */ enable_interrupts(prev, spu); /* Step 22. */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment