diff mbox

SPARC: Simplify param.h by simply including <asm-generic/param.h>

Message ID alpine.LFD.2.00.0912300356540.13010@localhost
State Accepted
Delegated to: David Miller
Headers show

Commit Message

Robert P. J. Day Dec. 30, 2009, 8:58 a.m. UTC
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>

---

  override the only difference, EXEC_PAGESIZE, then include the
generic version.



rday
--

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

            Linux Consulting, Training and Kernel Pedantry.

Web page:                                          http://crashcourse.ca
Twitter:                                       http://twitter.com/rpjday
========================================================================
--
To unsubscribe from this list: send the line "unsubscribe sparclinux" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Comments

Sam Ravnborg Dec. 30, 2009, 1:14 p.m. UTC | #1
On Wed, Dec 30, 2009 at 03:58:39AM -0500, Robert P. J. Day wrote:
> 
> Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
> 
> ---
> 
>   override the only difference, EXEC_PAGESIZE, then include the
> generic version.

Looks good.

Reviewed-by: Sam Ravnborg <sam@ravnborg.org>

	Sam
--
To unsubscribe from this list: send the line "unsubscribe sparclinux" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
David Miller Jan. 12, 2010, 9:59 a.m. UTC | #2
From: Sam Ravnborg <sam@ravnborg.org>
Date: Wed, 30 Dec 2009 14:14:37 +0100

> On Wed, Dec 30, 2009 at 03:58:39AM -0500, Robert P. J. Day wrote:
>> 
>> Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
>> 
>> ---
>> 
>>   override the only difference, EXEC_PAGESIZE, then include the
>> generic version.
> 
> Looks good.
> 
> Reviewed-by: Sam Ravnborg <sam@ravnborg.org>

Applied, thanks everyone.
--
To unsubscribe from this list: send the line "unsubscribe sparclinux" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/arch/sparc/include/asm/param.h b/arch/sparc/include/asm/param.h
index 9836d9a..0bc356b 100644
--- a/arch/sparc/include/asm/param.h
+++ b/arch/sparc/include/asm/param.h
@@ -1,22 +1,7 @@ 
 #ifndef _ASMSPARC_PARAM_H
 #define _ASMSPARC_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)
-#endif
-
-#ifndef HZ
-#define HZ 100
-#endif
-
 #define EXEC_PAGESIZE	8192    /* Thanks for sun4's we carry baggage... */
+#include <asm-generic/param.h>

-#ifndef NOGROUP
-#define NOGROUP		(-1)
-#endif
-
-#define MAXHOSTNAMELEN	64	/* max length of hostname */
-
-#endif
+#endif /* _ASMSPARC_PARAM_H */