]> git.hungrycats.org Git - linux/commit
[PATCH] Fix rtc symbol clash and HPET config problems
authorAndrew Morton <akpm@osdl.org>
Wed, 3 Sep 2003 18:11:51 +0000 (11:11 -0700)
committerLinus Torvalds <torvalds@home.osdl.org>
Wed, 3 Sep 2003 18:11:51 +0000 (11:11 -0700)
commit56928c850640733f7368c2ed2293cd26b6eea772
tree10857bd9ed2a68983f592c9fd3cdfa77439437ac
parentb465fc743171ddef1663a63cc469ae3ba375de21
[PATCH] Fix rtc symbol clash and HPET config problems

The new HPET RTC emulation code uses a function in rtc.c, get_rtc_time().

So that function was made non-static.  Problem is, the same function name is
used elsewhere by some architectures, so there will be linkage problems.

And rtc_get_time() is used too, so I renamed it to rtc_get_rtc_time().

Also, the HPET code was setting CONFIG_HPET_EMULATE_RTC by hand in a header
file.  Fix it to use the Kconfig system properly.
arch/i386/Kconfig
arch/i386/kernel/time_hpet.c
drivers/char/rtc.c
include/asm-i386/hpet.h
include/linux/rtc.h