linux-old/include/asm-arm/arch-l7200/param.h
<<
>>
Prefs
   1/*
   2 * linux/include/asm-arm/arch-l7200/param.h
   3 *
   4 * Copyright (C) 2000 Rob Scott (rscott@mtrob.fdns.net)
   5 *                    Steve Hill (sjhill@cotw.com)
   6 *
   7 * This file contains the hardware definitions for the
   8 * LinkUp Systems L7200 SOC development board.
   9 *
  10 * Changelog:
  11 *   04-21-2000 RS      Created L7200 version
  12 *   04-25-2000 SJH     Cleaned up file
  13 *   05-03-2000 SJH     Change comments and rate
  14 */
  15#ifndef __ASM_ARCH_PARAM_H
  16#define __ASM_ARCH_PARAM_H
  17
  18/*
  19 * See 'time.h' for how the RTC HZ rate is set
  20 */
  21#define HZ 128
  22
  23/*
  24 * Define hz_to_std, since we have a non 100Hz define
  25 * (see include/asm-arm/param.h)
  26 */
  27
  28#if defined(__KERNEL__)
  29#define hz_to_std(a) ((a * HZ)/100)
  30#endif
  31
  32#endif
  33
lxr.linux.no kindly hosted by Redpill Linpro AS, provider of Linux consulting and operations services since 1995.