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

From: Arnd Bergmann
Date: Thu May 04 2017 - 04:01:41 EST


On Wed, May 3, 2017 at 4:51 PM, Yury Norov <ynorov@xxxxxxxxxxxxxxxxxx> 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@xxxxxxxxxxxxxxxxxx>

Acked-by: Arnd Bergmann <arnd@xxxxxxxx>

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

Arnd