mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-18 17:54:13 +08:00
257a1aac7a
Commit c6202ca764
("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>
16 lines
348 B
C
16 lines
348 B
C
#ifndef __ASMSPARC_AUXVEC_H
|
|
#define __ASMSPARC_AUXVEC_H
|
|
|
|
#define AT_SYSINFO_EHDR 33
|
|
|
|
/* Avoid overlap with other AT_* values since they are consolidated in
|
|
* glibc and any overlaps can cause problems
|
|
*/
|
|
#define AT_ADI_BLKSZ 48
|
|
#define AT_ADI_NBITS 49
|
|
#define AT_ADI_UEONADI 50
|
|
|
|
#define AT_VECTOR_SIZE_ARCH 4
|
|
|
|
#endif /* !(__ASMSPARC_AUXVEC_H) */
|