diff options
author | Olaf Hering <olaf@aepfle.de> | 2010-06-05 09:45:12 +0200 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2010-06-08 20:02:30 +0200 |
commit | 1f0f6ec523917972127caf33dee552990db1841e (patch) | |
tree | 70b084c4f771e5402bbd17712839b6366ef93328 | |
parent | 40c26d73038f502453e1f434fdbacbd15025fc78 (diff) | |
download | lwn-1f0f6ec523917972127caf33dee552990db1841e.tar.gz lwn-1f0f6ec523917972127caf33dee552990db1841e.zip |
powerpc: chrp/time.c fix preprocessor conditional
Use correct preprocessor syntax to fix compile error
arch/powerpc/platforms/chrp/time.c:86:5: error: "CONFIG_PREEMPT_RT" is not defined
Signed-off-by: Olaf Hering <olaf@aepfle.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
-rw-r--r-- | arch/powerpc/platforms/chrp/time.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/chrp/time.c b/arch/powerpc/platforms/chrp/time.c index 8f1d8cd617ab..c418c835503e 100644 --- a/arch/powerpc/platforms/chrp/time.c +++ b/arch/powerpc/platforms/chrp/time.c @@ -83,7 +83,7 @@ int chrp_set_rtc_time(struct rtc_time *tmarg) unsigned char save_control, save_freq_select; struct rtc_time tm = *tmarg; -#if CONFIG_PREEMPT_RT +#ifdef CONFIG_PREEMPT_RT if (!spin_trylock(&rtc_lock)) return -1; #else |