diff options
author | Bob Nelson <rrnelson@linux.vnet.ibm.com> | 2007-12-15 01:27:30 +1100 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-12-28 15:07:52 +1100 |
commit | aed3a8c9bb1a8623a618232087c5ff62718e3b9a (patch) | |
tree | 3998117906b40887ce7739288403927f461bf4f4 /arch/powerpc/platforms/cell/spufs/context.c | |
parent | c68cb23dde29fb107575656effa46f7b9440ac04 (diff) | |
download | blackbird-op-linux-aed3a8c9bb1a8623a618232087c5ff62718e3b9a.tar.gz blackbird-op-linux-aed3a8c9bb1a8623a618232087c5ff62718e3b9a.zip |
[POWERPC] Oprofile: Remove dependency on spufs module
This removes an OProfile dependency on the spufs module. This
dependency was causing a problem for multiplatform systems that are
built with support for Oprofile on Cell but try to load the oprofile
module on a non-Cell system.
Signed-off-by: Bob Nelson <rrnelson@us.ibm.com>
Signed-off-by: Arnd Bergmann <arnd.bergmann@de.ibm.com>
Acked-by: Jeremy Kerr <jk@ozlabs.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/platforms/cell/spufs/context.c')
-rw-r--r-- | arch/powerpc/platforms/cell/spufs/context.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/arch/powerpc/platforms/cell/spufs/context.c b/arch/powerpc/platforms/cell/spufs/context.c index 9cb081c26e71..adf0a030d6fe 100644 --- a/arch/powerpc/platforms/cell/spufs/context.c +++ b/arch/powerpc/platforms/cell/spufs/context.c @@ -190,19 +190,3 @@ void spu_release_saved(struct spu_context *ctx) spu_release(ctx); } -void spu_set_profile_private_kref(struct spu_context *ctx, - struct kref *prof_info_kref, - void ( * prof_info_release) (struct kref *kref)) -{ - ctx->prof_priv_kref = prof_info_kref; - ctx->prof_priv_release = prof_info_release; -} -EXPORT_SYMBOL_GPL(spu_set_profile_private_kref); - -void *spu_get_profile_private_kref(struct spu_context *ctx) -{ - return ctx->prof_priv_kref; -} -EXPORT_SYMBOL_GPL(spu_get_profile_private_kref); - - |