All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] SPARC: Simplify param.h by simply including
@ 2009-12-30  8:58 Robert P. J. Day
  2009-12-30 13:14 ` Sam Ravnborg
  2010-01-12  9:59 ` David Miller
  0 siblings, 2 replies; 3+ messages in thread
From: Robert P. J. Day @ 2009-12-30  8:58 UTC (permalink / raw)
  To: sparclinux


Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>

---

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

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 */


rday
--

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

            Linux Consulting, Training and Kernel Pedantry.

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

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] SPARC: Simplify param.h by simply including
  2009-12-30  8:58 [PATCH] SPARC: Simplify param.h by simply including Robert P. J. Day
@ 2009-12-30 13:14 ` Sam Ravnborg
  2010-01-12  9:59 ` David Miller
  1 sibling, 0 replies; 3+ messages in thread
From: Sam Ravnborg @ 2009-12-30 13:14 UTC (permalink / raw)
  To: sparclinux

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] SPARC: Simplify param.h by simply including
  2009-12-30  8:58 [PATCH] SPARC: Simplify param.h by simply including Robert P. J. Day
  2009-12-30 13:14 ` Sam Ravnborg
@ 2010-01-12  9:59 ` David Miller
  1 sibling, 0 replies; 3+ messages in thread
From: David Miller @ 2010-01-12  9:59 UTC (permalink / raw)
  To: sparclinux

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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-01-12  9:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-30  8:58 [PATCH] SPARC: Simplify param.h by simply including Robert P. J. Day
2009-12-30 13:14 ` Sam Ravnborg
2010-01-12  9:59 ` David Miller

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.