Commit 5d68dd4b authored by Russell King's avatar Russell King

[ARM] Don't include asm/arch/param.h for non-kernel build uses.

parent 0377b5dd
...@@ -10,13 +10,13 @@ ...@@ -10,13 +10,13 @@
#ifndef __ASM_PARAM_H #ifndef __ASM_PARAM_H
#define __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 # ifndef __KERNEL_HZ
#define __KERNEL_HZ 100 # define __KERNEL_HZ 100
#endif # endif
#ifdef __KERNEL__
# define HZ __KERNEL_HZ /* Internal kernel timer frequency */ # define HZ __KERNEL_HZ /* Internal kernel timer frequency */
# define USER_HZ 100 /* User interfaces are in "ticks" */ # define USER_HZ 100 /* User interfaces are in "ticks" */
# define CLOCKS_PER_SEC (USER_HZ) /* like times() */ # define CLOCKS_PER_SEC (USER_HZ) /* like times() */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment