mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-11-15 14:36:52 +01:00
The size of auxiliary vector is fixed at 42 in linux/sched.h. But it isn't very obvious when looking at linux/elf.h. This patch adds AT_VECTOR_SIZE so that we can change it if necessary when a new vector is added. Because of include file ordering problems, doing this necessitated the extraction of the AT_* symbols into a standalone header file. Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
15 lines
378 B
C
15 lines
378 B
C
#ifndef __PPC_AUXVEC_H
|
|
#define __PPC_AUXVEC_H
|
|
|
|
/*
|
|
* We need to put in some extra aux table entries to tell glibc what
|
|
* the cache block size is, so it can use the dcbz instruction safely.
|
|
*/
|
|
#define AT_DCACHEBSIZE 19
|
|
#define AT_ICACHEBSIZE 20
|
|
#define AT_UCACHEBSIZE 21
|
|
/* A special ignored type value for PPC, for glibc compatibility. */
|
|
#define AT_IGNOREPPC 22
|
|
|
|
#endif
|