Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Khalid Aziz and committed by
David S. Miller
257a1aac 88fe3529

-4
-4
arch/sparc/include/uapi/asm/auxvec.h
··· 3 3 4 4 #define AT_SYSINFO_EHDR 33 5 5 6 - #ifdef CONFIG_SPARC64 7 6 /* Avoid overlap with other AT_* values since they are consolidated in 8 7 * glibc and any overlaps can cause problems 9 8 */ ··· 11 12 #define AT_ADI_UEONADI 50 12 13 13 14 #define AT_VECTOR_SIZE_ARCH 4 14 - #else 15 - #define AT_VECTOR_SIZE_ARCH 1 16 - #endif 17 15 18 16 #endif /* !(__ASMSPARC_AUXVEC_H) */