Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cb0d9350 authored by David Howells's avatar David Howells
Browse files

UAPI: Make FRV use asm-generic/param.h


    
Make FRV use the generic settings to be found in asm-generic/param.h where
possible rather than defining its own as they're mostly exactly the same.

This sorts out a problem with HZ being redefined after the UAPI split.

Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
parent d507462c
Loading
Loading
Loading
Loading
+1 −15
Original line number Original line Diff line number Diff line
#ifndef _ASM_PARAM_H
#ifndef _ASM_PARAM_H
#define _ASM_PARAM_H
#define _ASM_PARAM_H


#ifdef __KERNEL__
#define HZ		CONFIG_HZ	/* Internal kernel timer frequency */
#define USER_HZ		100		/* .. some user interfaces are in "ticks" */
#define CLOCKS_PER_SEC	(USER_HZ)	/* like times() */
#endif

#ifndef HZ
#define HZ 100
#endif

#define EXEC_PAGESIZE	16384
#define EXEC_PAGESIZE	16384


#ifndef NOGROUP
#include <asm-generic/param.h>
#define NOGROUP		(-1)
#endif

#define MAXHOSTNAMELEN		64	/* max length of hostname */


#endif /* _ASM_PARAM_H */
#endif /* _ASM_PARAM_H */