Skip to content

Commit 257a1aa

Browse files
hikerockiesdavem330
authored andcommitted
sparc: Make auxiliary vectors for ADI available on 32-bit as well
Commit c6202ca ("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 <[email protected]> Cc: Khalid Aziz <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 88fe352 commit 257a1aa

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

arch/sparc/include/uapi/asm/auxvec.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33

44
#define AT_SYSINFO_EHDR 33
55

6-
#ifdef CONFIG_SPARC64
76
/* Avoid overlap with other AT_* values since they are consolidated in
87
* glibc and any overlaps can cause problems
98
*/
@@ -12,8 +11,5 @@
1211
#define AT_ADI_UEONADI 50
1312

1413
#define AT_VECTOR_SIZE_ARCH 4
15-
#else
16-
#define AT_VECTOR_SIZE_ARCH 1
17-
#endif
1814

1915
#endif /* !(__ASMSPARC_AUXVEC_H) */

0 commit comments

Comments
 (0)