diff options
author | Bob Nelson <rrnelson@linux.vnet.ibm.com> | 2007-12-14 09:27:30 -0500 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-12-27 23:07:52 -0500 |
commit | aed3a8c9bb1a8623a618232087c5ff62718e3b9a (patch) | |
tree | 3998117906b40887ce7739288403927f461bf4f4 /arch/powerpc/platforms/cell/spufs/context.c | |
parent | c68cb23dde29fb107575656effa46f7b9440ac04 (diff) |
[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 9cb081c26e7..adf0a030d6f 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) | |||
190 | spu_release(ctx); | 190 | spu_release(ctx); |
191 | } | 191 | } |
192 | 192 | ||
193 | void spu_set_profile_private_kref(struct spu_context *ctx, | ||
194 | struct kref *prof_info_kref, | ||
195 | void ( * prof_info_release) (struct kref *kref)) | ||
196 | { | ||
197 | ctx->prof_priv_kref = prof_info_kref; | ||
198 | ctx->prof_priv_release = prof_info_release; | ||
199 | } | ||
200 | EXPORT_SYMBOL_GPL(spu_set_profile_private_kref); | ||
201 | |||
202 | void *spu_get_profile_private_kref(struct spu_context *ctx) | ||
203 | { | ||
204 | return ctx->prof_priv_kref; | ||
205 | } | ||
206 | EXPORT_SYMBOL_GPL(spu_get_profile_private_kref); | ||
207 | |||
208 | |||