diff options
author | Khalid Aziz <khalid.aziz@oracle.com> | 2018-03-20 10:46:02 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-03-20 11:14:31 -0400 |
commit | 257a1aac7a9ae82db9c84a263a883c6f17789fea (patch) | |
tree | 7d6d33ef14c8f95fdcf8962d62f8cd80aff8e45c | |
parent | 88fe35293446d19c4870e581b8b78d4714fc63d2 (diff) |
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.
Signed-off-by: Khalid Aziz <khalid.aziz@oracle.com>
Cc: Khalid Aziz <khalid@gonehiking.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | arch/sparc/include/uapi/asm/auxvec.h | 4 |
1 files changed, 0 insertions, 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 @@ | |||
3 | 3 | ||
4 | #define AT_SYSINFO_EHDR 33 | 4 | #define AT_SYSINFO_EHDR 33 |
5 | 5 | ||
6 | #ifdef CONFIG_SPARC64 | ||
7 | /* Avoid overlap with other AT_* values since they are consolidated in | 6 | /* Avoid overlap with other AT_* values since they are consolidated in |
8 | * glibc and any overlaps can cause problems | 7 | * glibc and any overlaps can cause problems |
9 | */ | 8 | */ |
@@ -12,8 +11,5 @@ | |||
12 | #define AT_ADI_UEONADI 50 | 11 | #define AT_ADI_UEONADI 50 |
13 | 12 | ||
14 | #define AT_VECTOR_SIZE_ARCH 4 | 13 | #define AT_VECTOR_SIZE_ARCH 4 |
15 | #else | ||
16 | #define AT_VECTOR_SIZE_ARCH 1 | ||
17 | #endif | ||
18 | 14 | ||
19 | #endif /* !(__ASMSPARC_AUXVEC_H) */ | 15 | #endif /* !(__ASMSPARC_AUXVEC_H) */ |