linux-mips
[Top] [All Lists]

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

To: linux-mips@linux-mips.org
Subject: [PATCH] MIPS: Simplify param.h by using <asm-generic/param.h>
From: "Robert P. J. Day" <rpjday@crashcourse.ca>
Date: Thu, 31 Dec 2009 15:39:00 -0500 (EST)
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
User-agent: Alpine 2.00 (LFD 1167 2008-08-23)
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>

---

diff --git a/arch/mips/include/asm/param.h b/arch/mips/include/asm/param.h
index 1d9bb8c..da3920f 100644
--- a/arch/mips/include/asm/param.h
+++ b/arch/mips/include/asm/param.h
@@ -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
========================================================================

<Prev in Thread] Current Thread [Next in Thread>
  • [PATCH] MIPS: Simplify param.h by using <asm-generic/param.h>, Robert P. J. Day <=