lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Thu, 26 Mar 2015 10:58:46 -0400
From:	Mark Salter <msalter@...hat.com>
To:	Chen Gang <xili_gchen_5257@...mail.com>
Cc:	a-jacquiot@...com,
	"linux-c6x-dev@...ux-c6x.org" <linux-c6x-dev@...ux-c6x.org>,
	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] c6x: platforms: cache: Export symbol
 L1P_cache_block_invalidate and L1D_cache_block_writeback

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@...il.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


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ