mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-27 06:34:11 +08:00
b8b572e101
from include/asm-powerpc. This is the result of a mkdir arch/powerpc/include/asm git mv include/asm-powerpc/* arch/powerpc/include/asm Followed by a few documentation/comment fixups and a couple of places where <asm-powepc/...> was being used explicitly. Of the latter only one was outside the arch code and it is a driver only built for powerpc. Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Paul Mackerras <paulus@samba.org>
23 lines
492 B
C
23 lines
492 B
C
#ifndef _ASM_POWERPC_PARAM_H
|
|
#define _ASM_POWERPC_PARAM_H
|
|
|
|
#ifdef __KERNEL__
|
|
#define HZ CONFIG_HZ /* internal kernel timer frequency */
|
|
#define USER_HZ 100 /* for user interfaces in "ticks" */
|
|
#define CLOCKS_PER_SEC (USER_HZ) /* frequency at which times() counts */
|
|
#endif /* __KERNEL__ */
|
|
|
|
#ifndef HZ
|
|
#define HZ 100
|
|
#endif
|
|
|
|
#define EXEC_PAGESIZE 4096
|
|
|
|
#ifndef NOGROUP
|
|
#define NOGROUP (-1)
|
|
#endif
|
|
|
|
#define MAXHOSTNAMELEN 64 /* max length of hostname */
|
|
|
|
#endif /* _ASM_POWERPC_PARAM_H */
|