SPARC: Simplify param.h by simply including
PATCH 1/1 SPARC: Simplify param.h by simply including
Signed-off-by Robert P. J. Day <[email protected]>
---
override the only difference, EXEC_PAGESIZE, then include the
generic version.
arch/sparc/include/asm/param.h +2 -17
@@ -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
====================================
Quoted 7 lines · Robert P. J. Day
Signed-off-by Robert P. J. Day <[email protected]>---
override the only difference,
EXEC_PAGESIZE, then include the
generic version.
Looks good.
Reviewed-by Sam Ravnborg <[email protected]>
Sam
From: Sam Ravnborg <[email protected]>
Date: Wed, 30 Dec 2009 14:14:37 +0100
Quoted 12 lines · Robert P. J. Day
Quoted 7 lines
Signed-off-by Robert P. J. Day <[email protected]>---
override the only difference,
EXEC_PAGESIZE, then include the
generic version.Looks good.
Reviewed-by Sam Ravnborg <[email protected]>
Applied, thanks everyone.