Skip to content

Commit

Permalink
[POWERPC] Fix build failure on Cell when CONFIG_SPU_FS=y
Browse files Browse the repository at this point in the history
Commit aed3a8c introduced a
definition of notify_spus_active in .../cell/spu_syscalls.c, and
another definition under #ifndef MODULE in .../cell/spufs/sched.c.
The latter is not necessary and causes the build to fail when
CONFIG_SPU_FS=y, so this removes it.  It also removes the export
of do_notify_spus_active, which is unnecessary.

Signed-off-by: Paul Mackerras <paulus@samba.org>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Jeremy Kerr <jk@ozlabs.org>
  • Loading branch information
Paul Mackerras committed Jan 2, 2008
1 parent e697789 commit a5a9711
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions arch/powerpc/platforms/cell/spufs/sched.c
Original file line number Diff line number Diff line change
Expand Up @@ -192,15 +192,6 @@ void do_notify_spus_active(void)
mutex_unlock(&cbe_spu_info[node].list_mutex);
}
}
EXPORT_SYMBOL_GPL(do_notify_spus_active);

#ifndef MODULE
void notify_spus_active(void)
{
do_notify_spus_active();
}
EXPORT_SYMBOL_GPL(notify_spus_active);
#endif

/**
* spu_bind_context - bind spu context to physical spu
Expand Down

0 comments on commit a5a9711

Please sign in to comment.