Re: [PATCH v7 6/7] ntb: ntb_hw_intel: use io-64-nonatomic instead of in-driver hacks

From: Andy Shevchenko
Date: Tue Aug 22 2017 - 13:41:58 EST


On Tue, Aug 22, 2017 at 8:02 PM, Logan Gunthorpe <logang@xxxxxxxxxxxx> wrote:
> Now that ioread64 and iowrite64 are available in io-64-nonatomic,
> we can remove the hack at the top of ntb_hw_intel.c and replace it
> with an include.

> @@ -59,6 +59,7 @@
> #include <linux/random.h>
> #include <linux/slab.h>
> #include <linux/ntb.h>
> +#include <linux/io-64-nonatomic-lo-hi.h>

I would rather try to squeeze to most alpabetiacelly ordered part of this block.
Otherwise it's a pretty nice clean up!

--
With Best Regards,
Andy Shevchenko