summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorRobert P. J. Day <rpjday@crashcourse.ca>2009-12-30 01:58:39 +0300
committerDavid S. Miller <davem@davemloft.net>2010-01-12 13:46:16 +0300
commitaf2e7cc27016eadcf3840325aaef59afece3b8f2 (patch)
treed6f8f3cf73d48bf06e146ef898b750bbbf3fb6db /arch
parent6fcd585f15ffee6acbe6f502091e5e994283ce44 (diff)
downloadlinux-af2e7cc27016eadcf3840325aaef59afece3b8f2.tar.xz
sparc: Simplify param.h by simply including <asm-generic/param.h>
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca> Reviewed-by: Sam Ravnborg <sam@ravnborg.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch')
-rw-r--r--arch/sparc/include/asm/param.h19
1 files changed, 2 insertions, 17 deletions
diff --git a/arch/sparc/include/asm/param.h b/arch/sparc/include/asm/param.h
index 9836d9a3cb9a..0bc356bf8c50 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 */