]> git.openfabrics.org - ~shefty/rdma-dev.git/commitdiff
UAPI: Make FRV use asm-generic/param.h
authorDavid Howells <dhowells@redhat.com>
Mon, 12 Dec 2011 13:56:04 +0000 (13:56 +0000)
committerDavid Howells <dhowells@redhat.com>
Mon, 12 Dec 2011 13:56:04 +0000 (13:56 +0000)
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>
arch/frv/include/asm/param.h

index 6859dd503ed366910cfe0fa85e7c0acf53e7f525..a52dca9a956660eb1656ad201cbed950db4f305c 100644 (file)
@@ -1,22 +1,8 @@
 #ifndef _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
 
-#ifndef NOGROUP
-#define NOGROUP                (-1)
-#endif
-
-#define MAXHOSTNAMELEN         64      /* max length of hostname */
+#include <asm-generic/param.h>
 
 #endif /* _ASM_PARAM_H */