[PATCH 2/3] asm-generic: don't #include <linux/atomic.h> in qspinlock_types.h

Arnd Bergmann arnd at arndb.de
Thu May 4 01:01:30 PDT 2017


On Wed, May 3, 2017 at 4:51 PM, Yury Norov <ynorov at caviumnetworks.com> wrote:
> The "qspinlock_types.h" doesn't need linux/atomic.h directly. So
> because of this, and because including of it requires the protection
> against recursive inclusion, it looks reasonable to move the
> inclusion exactly where it is needed. This change affects the x86_64
> arch, as the only user of qspinlocks at now. I have build-tested the
> change on x86_64 with CONFIG_PARAVIRT enabled and disabled.
>
> Signed-off-by: Yury Norov <ynorov at caviumnetworks.com>

Acked-by: Arnd Bergmann <arnd at arndb.de>

Please keep this together with the other patches as they get merged through
the arm64 tree.

       Arnd



More information about the linux-arm-kernel mailing list