From: eparis@redhat.com (Eric Paris)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] ARM: ptrace: Include linux/audit.h to fix build errors
Date: Wed, 15 Feb 2012 14:57:59 -0500 [thread overview]
Message-ID: <1329335879.2337.18.camel@localhost> (raw)
In-Reply-To: <20120215173443.GF27825@n2100.arm.linux.org.uk>
On Wed, 2012-02-15 at 17:34 +0000, Russell King - ARM Linux wrote:
> On Wed, Feb 15, 2012 at 12:07:02PM -0500, Eric Paris wrote:
> > So if someone tells me how the code knows it's endianness I'll gladly
> > write the ifdef to switch from AUDIT_ARCH_ARMEB to AUDIT_ARCH_ARM when
> > appropriate....
>
> An easy way would be:
>
> #ifndef __ARMEB__
> #define AUDIT_ARCH_NR AUDIT_ARCH_ARMEB
> #else
> #define AUDIT_ARCH_NR AUDIT_ARCH_ARM
> #endif
Is that actually exactly backwards? ifndef? (I don't have a clue when
__ARMEB__ is set)
WARNING: multiple messages have this Message-ID (diff)
From: Eric Paris <eparis@redhat.com>
To: Russell King - ARM Linux <linux@arm.linux.org.uk>
Cc: Axel Lin <axel.lin@gmail.com>,
linux-kernel@vger.kernel.org,
Nathaniel Husted <nhusted@gmail.com>,
Will Deacon <will.deacon@arm.com>,
Dave Martin <dave.martin@linaro.org>,
Nicolas Pitre <nicolas.pitre@linaro.org>,
Ingo Molnar <mingo@elte.hu>,
linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH] ARM: ptrace: Include linux/audit.h to fix build errors
Date: Wed, 15 Feb 2012 14:57:59 -0500 [thread overview]
Message-ID: <1329335879.2337.18.camel@localhost> (raw)
In-Reply-To: <20120215173443.GF27825@n2100.arm.linux.org.uk>
On Wed, 2012-02-15 at 17:34 +0000, Russell King - ARM Linux wrote:
> On Wed, Feb 15, 2012 at 12:07:02PM -0500, Eric Paris wrote:
> > So if someone tells me how the code knows it's endianness I'll gladly
> > write the ifdef to switch from AUDIT_ARCH_ARMEB to AUDIT_ARCH_ARM when
> > appropriate....
>
> An easy way would be:
>
> #ifndef __ARMEB__
> #define AUDIT_ARCH_NR AUDIT_ARCH_ARMEB
> #else
> #define AUDIT_ARCH_NR AUDIT_ARCH_ARM
> #endif
Is that actually exactly backwards? ifndef? (I don't have a clue when
__ARMEB__ is set)
next prev parent reply other threads:[~2012-02-15 19:57 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-15 5:36 [PATCH] ARM: ptrace: Include linux/audit.h to fix build errors Axel Lin
2012-02-15 5:36 ` Axel Lin
2012-02-15 8:36 ` Russell King - ARM Linux
2012-02-15 8:36 ` Russell King - ARM Linux
2012-02-15 9:52 ` Will Deacon
2012-02-15 9:52 ` Will Deacon
2012-02-15 10:18 ` Russell King - ARM Linux
2012-02-15 10:18 ` Russell King - ARM Linux
2012-02-15 15:10 ` Eric Paris
2012-02-15 15:10 ` Eric Paris
2012-02-15 16:10 ` Russell King - ARM Linux
2012-02-15 16:10 ` Russell King - ARM Linux
2012-02-15 16:14 ` Nathaniel Husted
2012-02-15 16:14 ` Nathaniel Husted
2012-02-15 17:07 ` Eric Paris
2012-02-15 17:07 ` Eric Paris
2012-02-15 17:14 ` Will Deacon
2012-02-15 17:14 ` Will Deacon
2012-02-15 17:34 ` Russell King - ARM Linux
2012-02-15 17:34 ` Russell King - ARM Linux
2012-02-15 19:57 ` Eric Paris [this message]
2012-02-15 19:57 ` Eric Paris
2012-02-15 20:19 ` Nicolas Pitre
2012-02-15 20:19 ` Nicolas Pitre
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=1329335879.2337.18.camel@localhost \
--to=eparis@redhat.com \
--cc=linux-arm-kernel@lists.infradead.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.