public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
From: Tony Lindgren <tony@atomide.com>
To: David Brownell <david-b@pacbell.net>
Cc: linux-omap@vger.kernel.org
Subject: Re: another dsp build fix ...
Date: Tue, 18 Mar 2008 11:19:29 +0200	[thread overview]
Message-ID: <20080318091929.GH20921@atomide.com> (raw)
In-Reply-To: <200803172141.12298.david-b@pacbell.net>

* 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

      reply	other threads:[~2008-03-18  9:20 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-18  4:41 another dsp build fix David Brownell
2008-03-18  9:19 ` Tony Lindgren [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080318091929.GH20921@atomide.com \
    --to=tony@atomide.com \
    --cc=david-b@pacbell.net \
    --cc=linux-omap@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox