Commit 43174c96 authored by Greg Ungerer's avatar Greg Ungerer Committed by Linus Torvalds

[PATCH] clean up HZ definition

Clean up the definition of HZ on m68knommu systems.
There is really only a couple of cases to handle, most
boards use the traditional 100Hz still. Only special
case out those that don't. The current code is just
spaghetti.
Signed-off-by: default avatarGreg Ungerer <gerg@snapgear.com>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent c1910a36
...@@ -3,38 +3,11 @@ ...@@ -3,38 +3,11 @@
#include <linux/config.h> #include <linux/config.h>
#ifndef HZ
#ifdef CONFIG_COLDFIRE
#if defined(CONFIG_CLEOPATRA) #if defined(CONFIG_CLEOPATRA)
#define HZ 1000 #define HZ 1000
#else
#define HZ 100
#endif
#endif
#ifdef CONFIG_M68EN302
#define HZ 100
#endif
#ifdef CONFIG_M68328
#define HZ 100
#endif #endif
#ifdef CONFIG_M68EZ328 #ifndef HZ
#define HZ 100 #define HZ 100
#endif
#ifdef CONFIG_UCSIMM
#define HZ 100
#endif
#ifdef CONFIG_M68VZ328
#define HZ 100
#endif
#ifdef CONFIG_SHGLCORE
#define HZ 50
#endif
#ifdef CONFIG_M68360
#define HZ 100
#endif
#endif #endif
#ifdef __KERNEL__ #ifdef __KERNEL__
......
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