commit | 6defa38b3754c84cd3449447477aed81ea979407 | [log] [tgz] |
---|---|---|
author | Paul Mackerras <paulus@samba.org> | Fri Nov 18 13:44:17 2005 +1100 |
committer | Paul Mackerras <paulus@samba.org> | Fri Nov 18 14:08:12 2005 +1100 |
tree | b5f40628d6fd9001470aa2f9a8fa3f2ed08862c6 | |
parent | fe7bce5ef70105a6546dc9b5c354219b9f6ea991 [diff] |
powerpc: Fix delay functions for 601 processors My earlier merge of delay.h introduced a timebase-based udelay for 32-bit machines but also broke the 601, which doesn't have the timebase register. This fixes it by using the 601's RTC register on the 601, and also moves __delay() and udelay() to be out-of-line in arch/powerpc/kernel/time.c. These functions aren't really performance critical, after all. Signed-off-by: Paul Mackerras <paulus@samba.org>