From 5d68dd4be05363c6f474011073b180f6f1aef795 Mon Sep 17 00:00:00 2001 From: Russell King Date: Tue, 7 Sep 2004 21:10:47 +0100 Subject: [PATCH] [ARM] Don't include asm/arch/param.h for non-kernel build uses. --- include/asm-arm/param.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/include/asm-arm/param.h b/include/asm-arm/param.h index 41a2f4fcf6b2b..6b1e23ca0cf17 100644 --- a/include/asm-arm/param.h +++ b/include/asm-arm/param.h @@ -10,13 +10,13 @@ #ifndef __ASM_PARAM_H #define __ASM_PARAM_H -#include /* for HZ */ +#ifdef __KERNEL__ +# include /* for __KERNEL_HZ */ -#ifndef __KERNEL_HZ -#define __KERNEL_HZ 100 -#endif +# ifndef __KERNEL_HZ +# define __KERNEL_HZ 100 +# endif -#ifdef __KERNEL__ # define HZ __KERNEL_HZ /* Internal kernel timer frequency */ # define USER_HZ 100 /* User interfaces are in "ticks" */ # define CLOCKS_PER_SEC (USER_HZ) /* like times() */ -- 2.53.0