mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Mark Salter <msalter@redhat.com>
To: Chen Gang <xili_gchen_5257@hotmail.com>
Cc: a-jacquiot@ti.com,
	"linux-c6x-dev@linux-c6x.org" <linux-c6x-dev@linux-c6x.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] c6x: platforms: cache: Export symbol L1P_cache_block_invalidate and L1D_cache_block_writeback
Date: Thu, 26 Mar 2015 10:58:46 -0400	[thread overview]
Message-ID: <1427381926.9430.50.camel@deneb.redhat.com> (raw)
In-Reply-To: <BLU436-SMTP38D7107F81F646E4E46E9FB91E0@phx.gbl>

On Wed, 2015-03-04 at 15:05 +0800, Chen Gang wrote:
> They are needed by other modules, the related error with allmodconfig:
> 
>     MODPOST 3327 modules
>   ERROR: "L1P_cache_block_invalidate" [drivers/misc/lkdtm.ko] undefined!
>   ERROR: "L1D_cache_block_writeback" [drivers/misc/lkdtm.ko] undefined!
> 
> Signed-off-by: Chen Gang <gang.chen.5i5j@gmail.com>
> ---

Thanks! I added this to the c6x tree for next merge window.

>  arch/c6x/platforms/cache.c | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/arch/c6x/platforms/cache.c b/arch/c6x/platforms/cache.c
> index 86318a1..46fd2d5 100644
> --- a/arch/c6x/platforms/cache.c
> +++ b/arch/c6x/platforms/cache.c
> @@ -350,6 +350,7 @@ void L1P_cache_block_invalidate(unsigned int start, unsigned int end)
>  			      (unsigned int *) end,
>  			      IMCR_L1PIBAR, IMCR_L1PIWC);
>  }
> +EXPORT_SYMBOL(L1P_cache_block_invalidate);
>  
>  void L1D_cache_block_invalidate(unsigned int start, unsigned int end)
>  {
> @@ -371,6 +372,7 @@ void L1D_cache_block_writeback(unsigned int start, unsigned int end)
>  			      (unsigned int *) end,
>  			      IMCR_L1DWBAR, IMCR_L1DWWC);
>  }
> +EXPORT_SYMBOL(L1D_cache_block_writeback);
>  
>  /*
>   *  L2 block operations



  reply	other threads:[~2015-03-26 14:58 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <54F6AD4B.8080607@hotmail.com>
2015-03-04  7:05 ` Chen Gang
2015-03-26 14:58   ` Mark Salter [this message]
2015-03-26 21:31     ` Chen Gang
2015-03-31 19:19       ` Chen Gang
2015-03-31 19:19       ` Chen Gang
2015-04-01 18:20         ` Chen Gang

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=1427381926.9430.50.camel@deneb.redhat.com \
    --to=msalter@redhat.com \
    --cc=a-jacquiot@ti.com \
    --cc=linux-c6x-dev@linux-c6x.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=xili_gchen_5257@hotmail.com \
    /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

all inboxes | Powered by JetHome®