Skip to contentSkip to conversation

MIPS: Simplify param.h by using <asm-generic/param.h>

PATCH In review Robert P. J. Day 2 participants 2 messages Dec 31, 2009 – Jan 10, 2010 MIPS

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 MIPS: Simplify param.h by using <asm-generic/param.h>

---

arch/mips/include/asm/param.h +1 -16
index 1d9bb8c..da3920f 100644
@@ -9,23 +9,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	65536
 
-#ifndef NOGROUP
-#define NOGROUP		(-1)
-#endif
-
-#define MAXHOSTNAMELEN	64	/* max length of hostname */
+#include <asm-generic/param.h>
 
 #endif /* _ASM_PARAM_H */

========================================================================
Robert P. J. Day Waterloo, Ontario, CANADA

Linux Consulting, Training and Kernel Pedantry.

Web page:                                          http://crashcourse.ca
Twitter:                                       http://twitter.com/rpjday

========================================================================

#1 lore raw

On Thu, Dec 31, 2009 at 03:39:00PM -0500, Robert P. J. Day wrote:

Thanks, queued for 2.6.34.

Ralf