Skip to content

Commit

Permalink
UAPI: Make MN10300 use asm-generic/param.h
Browse files Browse the repository at this point in the history
Make MN10300 use the generic settings to be found in asm-generic/param.h
rather than defining its own as they're exactly the same.

This sorts out a problem with HZ being redefined after the UAPI split.

Signed-off-by: David Howells <dhowells@redhat.com>
  • Loading branch information
David Howells committed Dec 12, 2011
1 parent 267aed9 commit b0b8c55
Showing 1 changed file with 1 addition and 17 deletions.
18 changes: 1 addition & 17 deletions arch/mn10300/include/asm/param.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,24 +11,8 @@
#ifndef _ASM_PARAM_H
#define _ASM_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
#include <asm-generic/param.h>

#ifndef HZ
#define HZ 100
#endif

#define EXEC_PAGESIZE 4096

#ifndef NOGROUP
#define NOGROUP (-1)
#endif

#define MAXHOSTNAMELEN 64 /* max length of hostname */
#define COMMAND_LINE_SIZE 256

#endif /* _ASM_PARAM_H */

0 comments on commit b0b8c55

Please sign in to comment.