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


Groups > linux.kernel > #1635462

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

From Arnd Bergmann <arnd@arndb.de>
Newsgroups linux.kernel
Subject Re: [PATCH 2/3] asm-generic: don't #include <linux/atomic.h> in qspinlock_types.h
Date 2017-05-04 10:10 +0200
Message-ID <tDjZL-MX-3@gated-at.bofh.it> (permalink)
References <tD44G-73B-25@gated-at.bofh.it> <tDjZL-MX-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

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

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

       Arnd

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


Thread

Re: [PATCH 2/3] asm-generic: don't #include <linux/atomic.h> in qspinlock_types.h Arnd Bergmann <arnd@arndb.de> - 2017-05-04 10:10 +0200

csiph-web