diff options
author | Helge Deller <deller@gmx.de> | 2015-09-08 17:49:31 +0200 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2015-09-08 17:53:03 +0200 |
commit | 72581cecee411be2b2c00226c98e0c20aab337a2 (patch) | |
tree | 6a21d8363d89f4d47fae2fc715ad5057fd715e45 /arch/parisc/kernel | |
parent | 1b59ddfcf1678de38a1f8ca9fb8ea5eebeff1843 (diff) |
parisc: Drop CONFIG_SMP around update_cr16_clocksource()
No need to use CONFIG_SMP around update_cr16_clocksource(). It checks for
num_online_cpus() beeing greater than 1, which is always 1 in UP builds.
Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'arch/parisc/kernel')
-rw-r--r-- | arch/parisc/kernel/time.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/arch/parisc/kernel/time.c b/arch/parisc/kernel/time.c index 70e105d62423..cc68a4fbce6a 100644 --- a/arch/parisc/kernel/time.c +++ b/arch/parisc/kernel/time.c @@ -202,7 +202,6 @@ static struct clocksource clocksource_cr16 = { .flags = CLOCK_SOURCE_IS_CONTINUOUS, }; -#ifdef CONFIG_SMP int update_cr16_clocksource(void) { /* since the cr16 cycle counters are not synchronized across CPUs, @@ -214,12 +213,6 @@ int update_cr16_clocksource(void) return 0; } -#else -int update_cr16_clocksource(void) -{ - return 0; /* no change */ -} -#endif /*CONFIG_SMP*/ void __init start_cpu_itimer(void) { |