diff options
author | Arnd Bergmann <arnd@arndb.de> | 2005-12-05 22:52:21 -0500 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2006-01-08 22:52:41 -0500 |
commit | 39c73c332c8264c0a3a1ce58aa3eae52d17af025 (patch) | |
tree | 5de8740442b5f03de4f57e10fc17c38342ae0487 /arch/powerpc/platforms/cell/spu_base.c | |
parent | ba7594852f4e7121b3f037d59f983637b795f0dd (diff) |
[PATCH] spufs: Make all exports GPL-only
This changes all exported symbols of spufs to EXPORT_SYMBOL_GPL.
The spu_ibox_read/spu_wbox_write symbols are not exported
any more when the scheduler patch is applied.
Signed-off-by: Arnd Bergmann <arndb@de.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/platforms/cell/spu_base.c')
-rw-r--r-- | arch/powerpc/platforms/cell/spu_base.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/powerpc/platforms/cell/spu_base.c b/arch/powerpc/platforms/cell/spu_base.c index 408c455cff08..b71313ae7526 100644 --- a/arch/powerpc/platforms/cell/spu_base.c +++ b/arch/powerpc/platforms/cell/spu_base.c | |||
@@ -399,7 +399,7 @@ struct spu *spu_alloc(void) | |||
399 | 399 | ||
400 | return spu; | 400 | return spu; |
401 | } | 401 | } |
402 | EXPORT_SYMBOL(spu_alloc); | 402 | EXPORT_SYMBOL_GPL(spu_alloc); |
403 | 403 | ||
404 | void spu_free(struct spu *spu) | 404 | void spu_free(struct spu *spu) |
405 | { | 405 | { |
@@ -407,7 +407,7 @@ void spu_free(struct spu *spu) | |||
407 | list_add_tail(&spu->list, &spu_list); | 407 | list_add_tail(&spu->list, &spu_list); |
408 | up(&spu_mutex); | 408 | up(&spu_mutex); |
409 | } | 409 | } |
410 | EXPORT_SYMBOL(spu_free); | 410 | EXPORT_SYMBOL_GPL(spu_free); |
411 | 411 | ||
412 | static int spu_handle_mm_fault(struct spu *spu) | 412 | static int spu_handle_mm_fault(struct spu *spu) |
413 | { | 413 | { |
@@ -576,7 +576,7 @@ int spu_run(struct spu *spu) | |||
576 | 576 | ||
577 | return ret; | 577 | return ret; |
578 | } | 578 | } |
579 | EXPORT_SYMBOL(spu_run); | 579 | EXPORT_SYMBOL_GPL(spu_run); |
580 | 580 | ||
581 | static void __iomem * __init map_spe_prop(struct device_node *n, | 581 | static void __iomem * __init map_spe_prop(struct device_node *n, |
582 | const char *name) | 582 | const char *name) |