Skip to content

Commit cb0d935

Browse files
committed
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: David Howells <dhowells@redhat.com>
1 parent d507462 commit cb0d935

1 file changed

Lines changed: 1 addition & 15 deletions

File tree

‎arch/frv/include/asm/param.h‎

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,8 @@
11
#ifndef _ASM_PARAM_H
22
#define _ASM_PARAM_H
33

4-
#ifdef __KERNEL__
5-
#define HZ CONFIG_HZ /* Internal kernel timer frequency */
6-
#define USER_HZ 100 /* .. some user interfaces are in "ticks" */
7-
#define CLOCKS_PER_SEC (USER_HZ) /* like times() */
8-
#endif
9-
10-
#ifndef HZ
11-
#define HZ 100
12-
#endif
13-
144
#define EXEC_PAGESIZE 16384
155

16-
#ifndef NOGROUP
17-
#define NOGROUP (-1)
18-
#endif
19-
20-
#define MAXHOSTNAMELEN 64 /* max length of hostname */
6+
#include <asm-generic/param.h>
217

228
#endif /* _ASM_PARAM_H */

0 commit comments

Comments
 (0)