Skip to contentSkip to conversation

sparc: Make auxiliary vectors for ADI available on 32-bit as well

PATCH Applied Khalid Aziz 2 participants 2 messages Mar 20, 2018 SPARC + UltraSPARC (sparc/sparc64)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 sparc: Make auxiliary vectors for ADI available on 32-bit as well

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.

---
 arch/sparc/include/uapi/asm/auxvec.h | 4 ----
 1 file changed, 4 deletions(-)
arch/sparc/include/uapi/asm/auxvec.h +0 -4
index f9937ccfcd99..ab8780fb9df1 100644
@@ -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) */
Signature · 1 line
2.11.0
maintainer Applied
#1 lore raw

From: Khalid Aziz <[email protected]>
Date: Tue, 20 Mar 2018 08:46:02 -0600

Quoted 7 lines

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.

Applied, thank you.