* [PATCH] M68K: Simplify param.h by using <asm-generic/param.h>
@ 2009-12-31 20:35 Robert P. J. Day
2010-03-07 12:41 ` Geert Uytterhoeven
0 siblings, 1 reply; 2+ messages in thread
From: Robert P. J. Day @ 2009-12-31 20:35 UTC (permalink / raw)
To: Linux M68K mailing list
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
---
diff --git a/arch/m68k/include/asm/param.h b/arch/m68k/include/asm/param.h
index 85c41b7..36265cc 100644
--- a/arch/m68k/include/asm/param.h
+++ b/arch/m68k/include/asm/param.h
@@ -1,26 +1,12 @@
#ifndef _M68K_PARAM_H
#define _M68K_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
-
#ifdef __uClinux__
#define EXEC_PAGESIZE 4096
#else
#define EXEC_PAGESIZE 8192
#endif
-#ifndef NOGROUP
-#define NOGROUP (-1)
-#endif
-
-#define MAXHOSTNAMELEN 64 /* max length of hostname */
+#include <asm-generic/param.h>
#endif /* _M68K_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] 2+ messages in thread* Re: [PATCH] M68K: Simplify param.h by using <asm-generic/param.h>
2009-12-31 20:35 [PATCH] M68K: Simplify param.h by using <asm-generic/param.h> Robert P. J. Day
@ 2010-03-07 12:41 ` Geert Uytterhoeven
0 siblings, 0 replies; 2+ messages in thread
From: Geert Uytterhoeven @ 2010-03-07 12:41 UTC (permalink / raw)
To: Robert P. J. Day; +Cc: Linux M68K mailing list
On Thu, Dec 31, 2009 at 21:35, Robert P. J. Day <rpjday@crashcourse.ca> wrote:
> Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Thx, applied.
diff --git a/arch/m68k/include/asm/param.h b/arch/m68k/include/asm/param.h
> index 85c41b7..36265cc 100644
> --- a/arch/m68k/include/asm/param.h
> +++ b/arch/m68k/include/asm/param.h
> @@ -1,26 +1,12 @@
> #ifndef _M68K_PARAM_H
> #define _M68K_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
> -
> #ifdef __uClinux__
> #define EXEC_PAGESIZE 4096
> #else
> #define EXEC_PAGESIZE 8192
> #endif
>
> -#ifndef NOGROUP
> -#define NOGROUP (-1)
> -#endif
> -
> -#define MAXHOSTNAMELEN 64 /* max length of hostname */
> +#include <asm-generic/param.h>
>
> #endif /* _M68K_PARAM_H */
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-03-07 12:41 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-31 20:35 [PATCH] M68K: Simplify param.h by using <asm-generic/param.h> Robert P. J. Day
2010-03-07 12:41 ` Geert Uytterhoeven
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox