# Re: \[PATCH\] powerpc/crypto: Remove virt\_to\_abs() usage in nx-842.c

- From: Herbert Xu \<herbert@gondor.apana.org.au\>
- Date: 2012-08-20 08:31:43 
- List: linuxppc-dev
- Page: https://ratatoskr.run/linuxppc-dev/2012/08/8472021
- Thread: https://ratatoskr.run/linux-crypto/2012/08/8471999/t.md

```text
On Fri, Aug 03, 2012 at 09:40:54AM -0500, Seth Jennings wrote:
> On 08/02/2012 09:23 PM, Michael Ellerman wrote:
> > virt_to_abs() is just a wrapper around __pa(), use __pa() directly.
> > 
> > We should be including <asm/page.h> to get __pa(). abs_addr.h will be
> > removed shortly so drop that.
> > 
> > We were getting of.h via abs_addr.h so we need to include that directly.
> > 
> > Having done all that, clean up the ordering of the includes.
> > 
> > Signed-off-by: Michael Ellerman <redacted>
> > ---
> >  drivers/crypto/nx/nx-842.c |   34 ++++++++++++++++++----------------
> >  1 file changed, 18 insertions(+), 16 deletions(-)
> 
> Looks good here.  Thanks for doing this!
> 
> Acked-by: Seth Jennings <redacted>

Patch applied.
-- 
Email: Herbert Xu [ref]
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
```
