Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 67334
b: refs/heads/master
c: 1238819
h: refs/heads/master
v: v3
  • Loading branch information
Sebastian Siewior authored and Paul Mackerras committed Sep 19, 2007
1 parent 4e20661 commit 99cece9
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: aa0154290fc05948560ac43afcccf8259e10bcd0
refs/heads/master: 1238819a41b6e38e1560afe8f33bbc815671b4f7
2 changes: 1 addition & 1 deletion trunk/arch/powerpc/platforms/cell/spu_base.c
Original file line number Diff line number Diff line change
Expand Up @@ -458,7 +458,7 @@ static int spu_shutdown(struct sys_device *sysdev)
return 0;
}

struct sysdev_class spu_sysdev_class = {
static struct sysdev_class spu_sysdev_class = {
set_kset_name("spu"),
.shutdown = spu_shutdown,
};
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/powerpc/platforms/cell/spu_callbacks.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
* mbind, mq_open, ipc, ...
*/

void *spu_syscall_table[] = {
static void *spu_syscall_table[] = {
#define SYSCALL(func) sys_ni_syscall,
#define COMPAT_SYS(func) sys_ni_syscall,
#define PPC_SYS(func) sys_ni_syscall,
Expand Down
6 changes: 3 additions & 3 deletions trunk/arch/powerpc/platforms/cell/spufs/file.c
Original file line number Diff line number Diff line change
Expand Up @@ -199,9 +199,9 @@ static int spufs_mem_mmap(struct file *file, struct vm_area_struct *vma)
}

#ifdef CONFIG_SPU_FS_64K_LS
unsigned long spufs_get_unmapped_area(struct file *file, unsigned long addr,
unsigned long len, unsigned long pgoff,
unsigned long flags)
static unsigned long spufs_get_unmapped_area(struct file *file,
unsigned long addr, unsigned long len, unsigned long pgoff,
unsigned long flags)
{
struct spu_context *ctx = file->private_data;
struct spu_state *csa = &ctx->csa;
Expand Down
4 changes: 2 additions & 2 deletions trunk/arch/powerpc/platforms/cell/spufs/run.c
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ static int spu_reacquire_runnable(struct spu_context *ctx, u32 *npc,
* This means we can only do a very rough approximation of POSIX
* signal semantics.
*/
int spu_handle_restartsys(struct spu_context *ctx, long *spu_ret,
static int spu_handle_restartsys(struct spu_context *ctx, long *spu_ret,
unsigned int *npc)
{
int ret;
Expand Down Expand Up @@ -241,7 +241,7 @@ int spu_handle_restartsys(struct spu_context *ctx, long *spu_ret,
return ret;
}

int spu_process_callback(struct spu_context *ctx)
static int spu_process_callback(struct spu_context *ctx)
{
struct spu_syscall_block s;
u32 ls_pointer, npc;
Expand Down
4 changes: 2 additions & 2 deletions trunk/arch/powerpc/platforms/cell/spufs/syscalls.c
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@ asmlinkage long sys_spu_run(int fd, __u32 __user *unpc, __u32 __user *ustatus)
}
#endif

asmlinkage long do_spu_create(const char __user *pathname, unsigned int flags,
mode_t mode, struct file *neighbor)
static asmlinkage long do_spu_create(const char __user *pathname,
unsigned int flags, mode_t mode, struct file *neighbor)
{
char *tmp;
int ret;
Expand Down

0 comments on commit 99cece9

Please sign in to comment.