diff options
author | ian <ian@FreeBSD.org> | 2014-02-26 22:06:10 +0000 |
---|---|---|
committer | ian <ian@FreeBSD.org> | 2014-02-26 22:06:10 +0000 |
commit | 6765240e8d836b50e2135e928456ed8923b220ad (patch) | |
tree | 85571d00e9daf458bf21ddc00bda4bff2fa22ad9 /sys/arm/allwinner | |
parent | cd2fb30b688a39a31956c0559e2983d0654eeb4a (diff) | |
download | FreeBSD-src-6765240e8d836b50e2135e928456ed8923b220ad.zip FreeBSD-src-6765240e8d836b50e2135e928456ed8923b220ad.tar.gz |
Replace many pasted identical definitions of cpu_initclocks() with a common
implementation in arm/machdep.c. Most arm platforms either don't need to
do anything, or just need to call the standard eventtimer init routines.
A generic implementation that does that is now provided via weak linkage.
Any platform that needs to do something different can provide a its own
implementation to override the generic one.
Diffstat (limited to 'sys/arm/allwinner')
-rw-r--r-- | sys/arm/allwinner/timer.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/sys/arm/allwinner/timer.c b/sys/arm/allwinner/timer.c index 4668026..c87f947 100644 --- a/sys/arm/allwinner/timer.c +++ b/sys/arm/allwinner/timer.c @@ -295,12 +295,6 @@ a10_timer_get_timerfreq(struct a10_timer_softc *sc) return (sc->timer0_freq); } -void -cpu_initclocks(void) -{ - cpu_initclocks_bsp(); -} - static int a10_timer_hardclock(void *arg) { |