Skip to content

Commit

Permalink
include: asm-generic: do not hard code HZ to 100
Browse files Browse the repository at this point in the history
Use the defconfig value instead

Change-Id: I529d08cf06d64f1e3976c0cd876f40b7efefa222
Signed-off-by: Alexander Martinz <[email protected]>
Signed-off-by: Adithya R <[email protected]>
  • Loading branch information
amartinz authored and adithya2306 committed Aug 4, 2018
1 parent 2f478f3 commit 8fe2ab6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/asm-generic/param.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@

# undef HZ
# define HZ CONFIG_HZ /* Internal kernel timer frequency */
# define USER_HZ 100 /* some user interfaces are */
# define USER_HZ CONFIG_HZ /* some user interfaces are */
# define CLOCKS_PER_SEC (USER_HZ) /* in "ticks" like times() */
#endif /* __ASM_GENERIC_PARAM_H */

0 comments on commit 8fe2ab6

Please sign in to comment.