Files
Linux/include/linux/auxvec.h
T
Ard Biesheuvel f60900f260 auxvec.h: account for AT_HWCAP2 in AT_VECTOR_SIZE_BASE
Commit 2171364d1a ("powerpc: Add HWCAP2 aux entry") introduced a new
AT_ auxv entry type AT_HWCAP2 but failed to update AT_VECTOR_SIZE_BASE
accordingly.

Signed-off-by: Ard Biesheuvel <[email protected]>
Fixes: 2171364d1a (powerpc: Add HWCAP2 aux entry)
Cc: [email protected]
Acked-by: Michael Neuling <[email protected]>
Cc: Nishanth Aravamudan <[email protected]>
Cc: Benjamin Herrenschmidt <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
2013-12-24 09:35:17 -08:00

9 lines
265 B
C

#ifndef _LINUX_AUXVEC_H
#define _LINUX_AUXVEC_H
#include <uapi/linux/auxvec.h>
#define AT_VECTOR_SIZE_BASE 20 /* NEW_AUX_ENT entries in auxiliary table */
/* number of "#define AT_.*" above, minus {AT_NULL, AT_IGNORE, AT_NOTELF} */
#endif /* _LINUX_AUXVEC_H */