From: Fengguang Wu <fengguang.wu@intel.com>
To: "Eric W. Biederman" <ebiederm@xmission.com>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>,
kernel-janitors@vger.kernel.org, Greg Ungerer <gerg@uclinux.org>,
linux-m68k@lists.linux-m68k.org, linux-kernel@vger.kernel.org
Subject: Re: [userns:userns-always-map-user-v45 80/99] fs/namespace.c:2290:1: error: unknown type name 'atomi
Date: Mon, 13 Aug 2012 13:39:10 +0000 [thread overview]
Message-ID: <20120813133910.GA30532@localhost> (raw)
In-Reply-To: <87k3x3z3de.fsf@xmission.com>
On Sun, Aug 12, 2012 at 11:56:45PM -0700, Eric W. Biederman wrote:
> Fengguang Wu <fengguang.wu@intel.com> writes:
>
> > Hi Geert,
> >
> > This is the build error I get, on Eric's userns tree.
> >
> > tree: git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace.git userns-always-map-user-v45
> > head: 38a0b1b84f5f613ff4e01fffda27f87d4cb2b649
> > commit: 5ea9fc30545b658380d4794340227fe821b83701 [80/99] vfs: Add setns support for the mount namespace
> > config: m68k-m5475evb_defconfig (attached as .config)
> >
> > All related error/warning messages:
> >
> > fs/namespace.c:2290:1: error: unknown type name 'atomic64_t'
> > fs/namespace.c:2290:1: error: implicit declaration of function 'ATOMIC64_INIT' [-Werror=implicit-function-declaration]
> > fs/namespace.c:2290:1: error: initializer element is not constant
> > fs/namespace.c: In function 'alloc_mnt_ns':
> > fs/namespace.c:2299:2: error: implicit declaration of function 'atomic64_add_return' [-Werror=implicit-function-declaration]
> > cc1: some warnings being treated as errors
>
> Fengguang is m68k the only place you are seeing build failures?
Yes.
> Exactly how I get a 64bit counter in that code path is not terribly
> important. I picked an atomic64_t because it looked simple and cheap.
Fair enough. As long as it's not in hot code path, it definitely helps
to use simple solutions.
> If this is limited to a couple of m68k sub-arches I will let you guys
> finish fixing this up so people can depend on atomic64_t being
> available. Otherwise it probably makes sense to go to with a different
> abstraction.
I'd suggest to fix it in m68k and make atomic64_t generally available.
Thanks,
Fengguang
WARNING: multiple messages have this Message-ID (diff)
From: Fengguang Wu <fengguang.wu@intel.com>
To: "Eric W. Biederman" <ebiederm@xmission.com>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>,
kernel-janitors@vger.kernel.org, Greg Ungerer <gerg@uclinux.org>,
linux-m68k@lists.linux-m68k.org, linux-kernel@vger.kernel.org
Subject: Re: [userns:userns-always-map-user-v45 80/99] fs/namespace.c:2290:1: error: unknown type name 'atomic64_t'
Date: Mon, 13 Aug 2012 21:39:10 +0800 [thread overview]
Message-ID: <20120813133910.GA30532@localhost> (raw)
In-Reply-To: <87k3x3z3de.fsf@xmission.com>
On Sun, Aug 12, 2012 at 11:56:45PM -0700, Eric W. Biederman wrote:
> Fengguang Wu <fengguang.wu@intel.com> writes:
>
> > Hi Geert,
> >
> > This is the build error I get, on Eric's userns tree.
> >
> > tree: git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace.git userns-always-map-user-v45
> > head: 38a0b1b84f5f613ff4e01fffda27f87d4cb2b649
> > commit: 5ea9fc30545b658380d4794340227fe821b83701 [80/99] vfs: Add setns support for the mount namespace
> > config: m68k-m5475evb_defconfig (attached as .config)
> >
> > All related error/warning messages:
> >
> > fs/namespace.c:2290:1: error: unknown type name 'atomic64_t'
> > fs/namespace.c:2290:1: error: implicit declaration of function 'ATOMIC64_INIT' [-Werror=implicit-function-declaration]
> > fs/namespace.c:2290:1: error: initializer element is not constant
> > fs/namespace.c: In function 'alloc_mnt_ns':
> > fs/namespace.c:2299:2: error: implicit declaration of function 'atomic64_add_return' [-Werror=implicit-function-declaration]
> > cc1: some warnings being treated as errors
>
> Fengguang is m68k the only place you are seeing build failures?
Yes.
> Exactly how I get a 64bit counter in that code path is not terribly
> important. I picked an atomic64_t because it looked simple and cheap.
Fair enough. As long as it's not in hot code path, it definitely helps
to use simple solutions.
> If this is limited to a couple of m68k sub-arches I will let you guys
> finish fixing this up so people can depend on atomic64_t being
> available. Otherwise it probably makes sense to go to with a different
> abstraction.
I'd suggest to fix it in m68k and make atomic64_t generally available.
Thanks,
Fengguang
WARNING: multiple messages have this Message-ID (diff)
From: Fengguang Wu <fengguang.wu@intel.com>
To: "Eric W. Biederman" <ebiederm@xmission.com>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>,
kernel-janitors@vger.kernel.org, Greg Ungerer <gerg@uclinux.org>,
linux-m68k@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [userns:userns-always-map-user-v45 80/99] fs/namespace.c:2290:1: error: unknown type name 'atomic64_t'
Date: Mon, 13 Aug 2012 21:39:10 +0800 [thread overview]
Message-ID: <20120813133910.GA30532@localhost> (raw)
In-Reply-To: <87k3x3z3de.fsf@xmission.com>
On Sun, Aug 12, 2012 at 11:56:45PM -0700, Eric W. Biederman wrote:
> Fengguang Wu <fengguang.wu@intel.com> writes:
>
> > Hi Geert,
> >
> > This is the build error I get, on Eric's userns tree.
> >
> > tree: git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace.git userns-always-map-user-v45
> > head: 38a0b1b84f5f613ff4e01fffda27f87d4cb2b649
> > commit: 5ea9fc30545b658380d4794340227fe821b83701 [80/99] vfs: Add setns support for the mount namespace
> > config: m68k-m5475evb_defconfig (attached as .config)
> >
> > All related error/warning messages:
> >
> > fs/namespace.c:2290:1: error: unknown type name 'atomic64_t'
> > fs/namespace.c:2290:1: error: implicit declaration of function 'ATOMIC64_INIT' [-Werror=implicit-function-declaration]
> > fs/namespace.c:2290:1: error: initializer element is not constant
> > fs/namespace.c: In function 'alloc_mnt_ns':
> > fs/namespace.c:2299:2: error: implicit declaration of function 'atomic64_add_return' [-Werror=implicit-function-declaration]
> > cc1: some warnings being treated as errors
>
> Fengguang is m68k the only place you are seeing build failures?
Yes.
> Exactly how I get a 64bit counter in that code path is not terribly
> important. I picked an atomic64_t because it looked simple and cheap.
Fair enough. As long as it's not in hot code path, it definitely helps
to use simple solutions.
> If this is limited to a couple of m68k sub-arches I will let you guys
> finish fixing this up so people can depend on atomic64_t being
> available. Otherwise it probably makes sense to go to with a different
> abstraction.
I'd suggest to fix it in m68k and make atomic64_t generally available.
Thanks,
Fengguang
next prev parent reply other threads:[~2012-08-13 13:39 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-12 14:50 [userns:userns-always-map-user-v45 80/99] fs/namespace.c:2290:1: error: unknown type name 'atomic64_ Fengguang Wu
2012-08-12 14:50 ` [userns:userns-always-map-user-v45 80/99] fs/namespace.c:2290:1: error: unknown type name 'atomic64_t' Fengguang Wu
2012-08-13 6:56 ` [userns:userns-always-map-user-v45 80/99] fs/namespace.c:2290:1: error: unknown type name 'atomi Eric W. Biederman
2012-08-13 6:56 ` [userns:userns-always-map-user-v45 80/99] fs/namespace.c:2290:1: error: unknown type name 'atomic64_t' Eric W. Biederman
2012-08-13 13:39 ` Fengguang Wu [this message]
2012-08-13 13:39 ` Fengguang Wu
2012-08-13 13:39 ` Fengguang Wu
2012-08-13 16:13 ` [userns:userns-always-map-user-v45 80/99] fs/namespace.c:2290:1: error: unknown type name 'atomi Eric W. Biederman
2012-08-13 16:13 ` [userns:userns-always-map-user-v45 80/99] fs/namespace.c:2290:1: error: unknown type name 'atomic64_t' Eric W. Biederman
2012-08-13 16:13 ` Eric W. Biederman
2012-08-13 17:55 ` Fengguang Wu
2012-08-13 17:55 ` [userns:userns-always-map-user-v45 80/99] fs/namespace.c:2290:1: error: unknown type name 'atomi Fengguang Wu
2012-08-13 17:55 ` [userns:userns-always-map-user-v45 80/99] fs/namespace.c:2290:1: error: unknown type name 'atomic64_t' Fengguang Wu
2012-08-13 18:13 ` [userns:userns-always-map-user-v45 80/99] fs/namespace.c:2290:1: error: unknown type name 'atomi Fengguang Wu
2012-08-13 18:13 ` [userns:userns-always-map-user-v45 80/99] fs/namespace.c:2290:1: error: unknown type name 'atomic64_t' Fengguang Wu
2012-08-13 18:13 ` Fengguang Wu
2012-08-13 19:08 ` Architectures missing atomic64_t Eric W. Biederman
2012-08-13 19:08 ` Eric W. Biederman
2012-08-13 19:08 ` Eric W. Biederman
2012-08-13 19:08 ` Eric W. Biederman
2012-08-14 14:57 ` Fengguang Wu
2012-08-14 14:57 ` Fengguang Wu
2012-08-14 14:57 ` Fengguang Wu
2012-08-14 14:57 ` Fengguang Wu
2012-08-13 6:56 ` [userns:userns-always-map-user-v45 80/99] fs/namespace.c:2290:1: error: unknown type name 'atomic64_t' Eric W. Biederman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20120813133910.GA30532@localhost \
--to=fengguang.wu@intel.com \
--cc=ebiederm@xmission.com \
--cc=geert@linux-m68k.org \
--cc=gerg@uclinux.org \
--cc=kernel-janitors@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-m68k@lists.linux-m68k.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.