]> git.hungrycats.org Git - linux/commitdiff
[ARM] Don't include asm/arch/param.h for non-kernel build uses.
authorRussell King <rmk@flint.arm.linux.org.uk>
Tue, 7 Sep 2004 20:10:47 +0000 (21:10 +0100)
committerRussell King <rmk@flint.arm.linux.org.uk>
Tue, 7 Sep 2004 20:10:47 +0000 (21:10 +0100)
include/asm-arm/param.h

index 41a2f4fcf6b2be3fd351e434c9b636d6cb1eeb94..6b1e23ca0cf17049316f749813fa9f59f4b7ae2b 100644 (file)
 #ifndef __ASM_PARAM_H
 #define __ASM_PARAM_H
 
-#include <asm/arch/param.h>    /* for HZ */
+#ifdef __KERNEL__
+# include <asm/arch/param.h>           /* 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() */