mirror of https://gitee.com/openkylin/linux.git
[POWERPC] Fix build failure on Cell when CONFIG_SPU_FS=y
Commit aed3a8c9bb
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>
This commit is contained in:
parent
e697789d64
commit
a5a971129c
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue