mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Khalid Aziz <khalid.aziz@oracle.com>
To: davem@davemloft.net
Cc: Khalid Aziz <khalid.aziz@oracle.com>,
	shannon.nelson@oracle.com, nagarathnam.muthusamy@oracle.com,
	nick.alcock@oracle.com, sparclinux@vger.kernel.org,
	linux-kernel@vger.kernel.org, Khalid Aziz <khalid@gonehiking.org>
Subject: [PATCH sparc-next] sparc: Make auxiliary vectors for ADI available on 32-bit as well
Date: Tue, 20 Mar 2018 08:46:02 -0600	[thread overview]
Message-ID: <20180320144602.16535-1-khalid.aziz@oracle.com> (raw)

Commit c6202ca764ac ("sparc64: Add auxiliary vectors to report
platform ADI properties") adds auxiliary vectors to report ADI
capabilities on sparc64 platform only. This needs to be uniform
across 64-bit and 32-bit. This patch makes the same vectors
available on 32-bit as well.

Signed-off-by: Khalid Aziz <khalid.aziz@oracle.com>
Cc: Khalid Aziz <khalid@gonehiking.org>
---
 arch/sparc/include/uapi/asm/auxvec.h | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/arch/sparc/include/uapi/asm/auxvec.h b/arch/sparc/include/uapi/asm/auxvec.h
index f9937ccfcd99..ab8780fb9df1 100644
--- a/arch/sparc/include/uapi/asm/auxvec.h
+++ b/arch/sparc/include/uapi/asm/auxvec.h
@@ -3,7 +3,6 @@
 
 #define AT_SYSINFO_EHDR		33
 
-#ifdef CONFIG_SPARC64
 /* Avoid overlap with other AT_* values since they are consolidated in
  * glibc and any overlaps can cause problems
  */
@@ -12,8 +11,5 @@
 #define AT_ADI_UEONADI	50
 
 #define AT_VECTOR_SIZE_ARCH	4
-#else
-#define AT_VECTOR_SIZE_ARCH	1
-#endif
 
 #endif /* !(__ASMSPARC_AUXVEC_H) */
-- 
2.11.0

             reply	other threads:[~2018-03-20 14:46 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-03-20 14:46 Khalid Aziz [this message]
2018-03-20 15:14 ` David Miller

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=20180320144602.16535-1-khalid.aziz@oracle.com \
    --to=khalid.aziz@oracle.com \
    --cc=davem@davemloft.net \
    --cc=khalid@gonehiking.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=nagarathnam.muthusamy@oracle.com \
    --cc=nick.alcock@oracle.com \
    --cc=shannon.nelson@oracle.com \
    --cc=sparclinux@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®