Commit 39c73c33 authored by Arnd Bergmann's avatar Arnd Bergmann Committed by Paul Mackerras

[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: default avatarArnd Bergmann <arndb@de.ibm.com>
Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
parent ba759485
...@@ -399,7 +399,7 @@ struct spu *spu_alloc(void) ...@@ -399,7 +399,7 @@ struct spu *spu_alloc(void)
return spu; return spu;
} }
EXPORT_SYMBOL(spu_alloc); EXPORT_SYMBOL_GPL(spu_alloc);
void spu_free(struct spu *spu) void spu_free(struct spu *spu)
{ {
...@@ -407,7 +407,7 @@ void spu_free(struct spu *spu) ...@@ -407,7 +407,7 @@ void spu_free(struct spu *spu)
list_add_tail(&spu->list, &spu_list); list_add_tail(&spu->list, &spu_list);
up(&spu_mutex); up(&spu_mutex);
} }
EXPORT_SYMBOL(spu_free); EXPORT_SYMBOL_GPL(spu_free);
static int spu_handle_mm_fault(struct spu *spu) static int spu_handle_mm_fault(struct spu *spu)
{ {
...@@ -576,7 +576,7 @@ int spu_run(struct spu *spu) ...@@ -576,7 +576,7 @@ int spu_run(struct spu *spu)
return ret; return ret;
} }
EXPORT_SYMBOL(spu_run); EXPORT_SYMBOL_GPL(spu_run);
static void __iomem * __init map_spe_prop(struct device_node *n, static void __iomem * __init map_spe_prop(struct device_node *n,
const char *name) const char *name)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment