Skip to content

Commit

Permalink
[ARM] Move HZ definition into Kconfig
Browse files Browse the repository at this point in the history
Move the HZ definition into Kconfig, and set appropriate defaults
for platforms.  Remove mostly empty asm/arch/param.h include file.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
  • Loading branch information
Russell King authored and Russell King committed Mar 21, 2006
1 parent ec1248e commit f806581
Show file tree
Hide file tree
Showing 24 changed files with 8 additions and 252 deletions.
7 changes: 7 additions & 0 deletions arch/arm/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -434,6 +434,13 @@ config NO_IDLE_HZ
Currently at least OMAP, PXA2xx and SA11x0 platforms are known
to have accurate timekeeping with dynamic tick.

config HZ
int
default 128 if ARCH_L7200
default 200 if ARCH_EBSA110 || ARCH_S3C2410
default OMAP_32K_TIMER_HZ if ARCH_OMAP && OMAP_32K_TIMER_HZ != 0
default 100

config AEABI
bool "Use the ARM EABI to compile the kernel"
help
Expand Down
15 changes: 0 additions & 15 deletions include/asm-arm/arch-aaec2000/param.h

This file was deleted.

28 changes: 0 additions & 28 deletions include/asm-arm/arch-at91rm9200/param.h

This file was deleted.

5 changes: 0 additions & 5 deletions include/asm-arm/arch-cl7500/param.h

This file was deleted.

19 changes: 0 additions & 19 deletions include/asm-arm/arch-clps711x/param.h

This file was deleted.

4 changes: 0 additions & 4 deletions include/asm-arm/arch-ebsa110/param.h

This file was deleted.

3 changes: 0 additions & 3 deletions include/asm-arm/arch-ebsa285/param.h

This file was deleted.

10 changes: 0 additions & 10 deletions include/asm-arm/arch-h720x/param.h

This file was deleted.

19 changes: 0 additions & 19 deletions include/asm-arm/arch-imx/param.h

This file was deleted.

19 changes: 0 additions & 19 deletions include/asm-arm/arch-integrator/param.h

This file was deleted.

3 changes: 0 additions & 3 deletions include/asm-arm/arch-iop3xx/param.h

This file was deleted.

3 changes: 0 additions & 3 deletions include/asm-arm/arch-ixp2000/param.h

This file was deleted.

3 changes: 0 additions & 3 deletions include/asm-arm/arch-ixp4xx/param.h

This file was deleted.

19 changes: 0 additions & 19 deletions include/asm-arm/arch-l7200/param.h

This file was deleted.

9 changes: 0 additions & 9 deletions include/asm-arm/arch-lh7a40x/param.h

This file was deleted.

8 changes: 0 additions & 8 deletions include/asm-arm/arch-omap/param.h

This file was deleted.

3 changes: 0 additions & 3 deletions include/asm-arm/arch-pxa/param.h

This file was deleted.

19 changes: 0 additions & 19 deletions include/asm-arm/arch-realview/param.h

This file was deleted.

3 changes: 0 additions & 3 deletions include/asm-arm/arch-rpc/param.h

This file was deleted.

27 changes: 0 additions & 27 deletions include/asm-arm/arch-s3c2410/param.h

This file was deleted.

3 changes: 0 additions & 3 deletions include/asm-arm/arch-sa1100/param.h

This file was deleted.

5 changes: 0 additions & 5 deletions include/asm-arm/arch-shark/param.h

This file was deleted.

19 changes: 0 additions & 19 deletions include/asm-arm/arch-versatile/param.h

This file was deleted.

7 changes: 1 addition & 6 deletions include/asm-arm/param.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,7 @@
#define __ASM_PARAM_H

#ifdef __KERNEL__
# include <asm/arch/param.h> /* for kernel version of HZ */

# ifndef HZ
# define HZ 100 /* Internal kernel timer frequency */
# endif

# define HZ CONFIG_HZ /* Internal kernel timer frequency */
# define USER_HZ 100 /* User interfaces are in "ticks" */
# define CLOCKS_PER_SEC (USER_HZ) /* like times() */
#else
Expand Down

0 comments on commit f806581

Please sign in to comment.