All of lore.kernel.org
 help / color / mirror / Atom feed
* another dsp build fix ...
@ 2008-03-18  4:41 David Brownell
  2008-03-18  9:19 ` Tony Lindgren
  0 siblings, 1 reply; 2+ messages in thread
From: David Brownell @ 2008-03-18  4:41 UTC (permalink / raw)
  To: linux-omap

Another compile fix for DSP code ... these symbols are defined
as NOPs in a header.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
---
 drivers/dsp/dspgateway/dsp_common.c |    4 ++++
 1 files changed, 4 insertions(+)

--- osk2.orig/drivers/dsp/dspgateway/dsp_common.c	2008-03-17 21:03:13.000000000 -0700
+++ osk2/drivers/dsp/dspgateway/dsp_common.c	2008-03-17 21:03:16.000000000 -0700
@@ -502,6 +502,7 @@ void omap_dsp_release_mpui(void)
 	mutex_unlock(&cpustat.lock);
 }
 
+#if defined(CONFIG_ARCH_OMAP1) && defined(CONFIG_OMAP_MMU_FWK)
 int omap_dsp_request_mem(void)
 {
 	int ret = 0;
@@ -564,6 +565,7 @@ int omap_dsp_release_mem(void)
 
 	return 0;
 }
+#endif
 
 void dsp_register_mem_cb(int (*req_cb)(void), void (*rel_cb)(void))
 {
@@ -597,8 +599,10 @@ arch_initcall(omap_dsp_init);
 #ifdef CONFIG_ARCH_OMAP1
 EXPORT_SYMBOL(omap_dsp_request_mpui);
 EXPORT_SYMBOL(omap_dsp_release_mpui);
+#if defined(CONFIG_ARCH_OMAP1) && defined(CONFIG_OMAP_MMU_FWK)
 EXPORT_SYMBOL(omap_dsp_request_mem);
 EXPORT_SYMBOL(omap_dsp_release_mem);
+#endif
 #endif /* CONFIG_ARCH_OMAP1 */
 
 #ifdef CONFIG_OMAP_DSP_MODULE

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: another dsp build fix ...
  2008-03-18  4:41 another dsp build fix David Brownell
@ 2008-03-18  9:19 ` Tony Lindgren
  0 siblings, 0 replies; 2+ messages in thread
From: Tony Lindgren @ 2008-03-18  9:19 UTC (permalink / raw)
  To: David Brownell; +Cc: linux-omap

* David Brownell <david-b@pacbell.net> [080318 06:41]:
> Another compile fix for DSP code ... these symbols are defined
> as NOPs in a header.
> 
> Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
> ---
>  drivers/dsp/dspgateway/dsp_common.c |    4 ++++
>  1 files changed, 4 insertions(+)
> 
> --- osk2.orig/drivers/dsp/dspgateway/dsp_common.c	2008-03-17 21:03:13.000000000 -0700
> +++ osk2/drivers/dsp/dspgateway/dsp_common.c	2008-03-17 21:03:16.000000000 -0700
> @@ -502,6 +502,7 @@ void omap_dsp_release_mpui(void)
>  	mutex_unlock(&cpustat.lock);
>  }
>  
> +#if defined(CONFIG_ARCH_OMAP1) && defined(CONFIG_OMAP_MMU_FWK)
>  int omap_dsp_request_mem(void)
>  {
>  	int ret = 0;
> @@ -564,6 +565,7 @@ int omap_dsp_release_mem(void)
>  
>  	return 0;
>  }
> +#endif
>  
>  void dsp_register_mem_cb(int (*req_cb)(void), void (*rel_cb)(void))
>  {
> @@ -597,8 +599,10 @@ arch_initcall(omap_dsp_init);
>  #ifdef CONFIG_ARCH_OMAP1
>  EXPORT_SYMBOL(omap_dsp_request_mpui);
>  EXPORT_SYMBOL(omap_dsp_release_mpui);
> +#if defined(CONFIG_ARCH_OMAP1) && defined(CONFIG_OMAP_MMU_FWK)
>  EXPORT_SYMBOL(omap_dsp_request_mem);
>  EXPORT_SYMBOL(omap_dsp_release_mem);
> +#endif
>  #endif /* CONFIG_ARCH_OMAP1 */
>  
>  #ifdef CONFIG_OMAP_DSP_MODULE

Pushing today.

Tony

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-03-18  9:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-03-18  4:41 another dsp build fix David Brownell
2008-03-18  9:19 ` Tony Lindgren

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.