Commit 257a1aac authored by Khalid Aziz's avatar Khalid Aziz Committed by David S. Miller

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

Commit c6202ca7 ("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: default avatarKhalid Aziz <khalid.aziz@oracle.com>
Cc: Khalid Aziz <khalid@gonehiking.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 88fe3529
...@@ -3,7 +3,6 @@ ...@@ -3,7 +3,6 @@
#define AT_SYSINFO_EHDR 33 #define AT_SYSINFO_EHDR 33
#ifdef CONFIG_SPARC64
/* Avoid overlap with other AT_* values since they are consolidated in /* Avoid overlap with other AT_* values since they are consolidated in
* glibc and any overlaps can cause problems * glibc and any overlaps can cause problems
*/ */
...@@ -12,8 +11,5 @@ ...@@ -12,8 +11,5 @@
#define AT_ADI_UEONADI 50 #define AT_ADI_UEONADI 50
#define AT_VECTOR_SIZE_ARCH 4 #define AT_VECTOR_SIZE_ARCH 4
#else
#define AT_VECTOR_SIZE_ARCH 1
#endif
#endif /* !(__ASMSPARC_AUXVEC_H) */ #endif /* !(__ASMSPARC_AUXVEC_H) */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment