From: OGAWA Hirofumi Signed-off-by: OGAWA Hirofumi Cc: john stultz Signed-off-by: Andrew Morton --- kernel/time/clocksource.c | 4 ++-- kernel/timer.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff -puN kernel/time/clocksource.c~time-use-clocksource-infrastructure-for-update_wall_time-mark-few-functions-as-__init kernel/time/clocksource.c --- devel/kernel/time/clocksource.c~time-use-clocksource-infrastructure-for-update_wall_time-mark-few-functions-as-__init 2006-05-19 16:01:02.000000000 -0700 +++ devel-akpm/kernel/time/clocksource.c 2006-05-19 16:01:02.000000000 -0700 @@ -56,7 +56,7 @@ static int finished_booting; * * Hack to avoid lots of clocksource churn at boot time */ -static int clocksource_done_booting(void) +static int __init clocksource_done_booting(void) { finished_booting = 1; return 0; @@ -289,7 +289,7 @@ static struct sys_device device_clocksou .cls = &clocksource_sysclass, }; -static int init_clocksource_sysfs(void) +static int __init init_clocksource_sysfs(void) { int error = sysdev_class_register(&clocksource_sysclass); diff -puN kernel/timer.c~time-use-clocksource-infrastructure-for-update_wall_time-mark-few-functions-as-__init kernel/timer.c --- devel/kernel/timer.c~time-use-clocksource-infrastructure-for-update_wall_time-mark-few-functions-as-__init 2006-05-19 16:01:02.000000000 -0700 +++ devel-akpm/kernel/timer.c 2006-05-19 16:01:02.000000000 -0700 @@ -799,7 +799,7 @@ static cycle_t last_clock_cycle; /* cyc /* * timekeeping_init - Initializes the clocksource and common timekeeping values */ -void timekeeping_init(void) +void __init timekeeping_init(void) { unsigned long flags; @@ -842,7 +842,7 @@ static struct sys_device device_timer = .cls = &timekeeping_sysclass, }; -static int timekeeping_init_device(void) +static int __init timekeeping_init_device(void) { int error = sysdev_class_register(&timekeeping_sysclass); if (!error) _