summaryrefslogtreecommitdiffstats
path: root/arch/sparc
diff options
context:
space:
mode:
authorRobert P. J. Day <rpjday@crashcourse.ca>2009-12-29 22:58:39 +0000
committerDavid S. Miller <davem@davemloft.net>2010-01-12 02:46:16 -0800
commitaf2e7cc27016eadcf3840325aaef59afece3b8f2 (patch)
treed6f8f3cf73d48bf06e146ef898b750bbbf3fb6db /arch/sparc
parent6fcd585f15ffee6acbe6f502091e5e994283ce44 (diff)
downloadop-kernel-dev-af2e7cc27016eadcf3840325aaef59afece3b8f2.zip
op-kernel-dev-af2e7cc27016eadcf3840325aaef59afece3b8f2.tar.gz
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/sparc')
-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 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 */
OpenPOWER on IntegriCloud