Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1717622

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

From Andy Shevchenko <andy.shevchenko@gmail.com>
Newsgroups linux.kernel
Subject Re: [PATCH v7 6/7] ntb: ntb_hw_intel: use io-64-nonatomic instead of in-driver hacks
Date 2017-08-22 19:50 +0200
Message-ID <uhlto-5B5-23@gated-at.bofh.it> (permalink)
References <uhkQF-5m1-3@gated-at.bofh.it> <uhkQG-5m1-19@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue, Aug 22, 2017 at 8:02 PM, Logan Gunthorpe <logang@deltatee.com> 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

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v7 6/7] ntb: ntb_hw_intel: use io-64-nonatomic instead of in-driver hacks Logan Gunthorpe <logang@deltatee.com> - 2017-08-22 19:10 +0200
  Re: [PATCH v7 6/7] ntb: ntb_hw_intel: use io-64-nonatomic instead of  in-driver hacks Andy Shevchenko <andy.shevchenko@gmail.com> - 2017-08-22 19:50 +0200
    Re: [PATCH v7 6/7] ntb: ntb_hw_intel: use io-64-nonatomic instead of  in-driver hacks Logan Gunthorpe <logang@deltatee.com> - 2017-08-22 20:00 +0200
      Re: [PATCH v7 6/7] ntb: ntb_hw_intel: use io-64-nonatomic instead of  in-driver hacks Andy Shevchenko <andy.shevchenko@gmail.com> - 2017-08-22 22:20 +0200

csiph-web