aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
Diffstat (limited to 'arch')
-rw-r--r--arch/x86/kernel/hpet.c3
-rw-r--r--arch/x86/kernel/process_64.c2
2 files changed, 3 insertions, 2 deletions
diff --git a/arch/x86/kernel/hpet.c b/arch/x86/kernel/hpet.c
index 2f99ee206b95..9ec2ab793042 100644
--- a/arch/x86/kernel/hpet.c
+++ b/arch/x86/kernel/hpet.c
@@ -16,7 +16,8 @@
16#define HPET_MASK CLOCKSOURCE_MASK(32) 16#define HPET_MASK CLOCKSOURCE_MASK(32)
17#define HPET_SHIFT 22 17#define HPET_SHIFT 22
18 18
19/* FSEC = 10^-15 NSEC = 10^-9 */ 19/* FSEC = 10^-15
20 NSEC = 10^-9 */
20#define FSEC_PER_NSEC 1000000 21#define FSEC_PER_NSEC 1000000
21 22
22/* 23/*
diff --git a/arch/x86/kernel/process_64.c b/arch/x86/kernel/process_64.c
index ab79e1dfa023..c2db7ef93565 100644
--- a/arch/x86/kernel/process_64.c
+++ b/arch/x86/kernel/process_64.c
@@ -207,7 +207,7 @@ static inline void play_dead(void)
207 * low exit latency (ie sit in a loop waiting for 207 * low exit latency (ie sit in a loop waiting for
208 * somebody to say that they'd like to reschedule) 208 * somebody to say that they'd like to reschedule)
209 */ 209 */
210void cpu_idle (void) 210void cpu_idle(void)
211{ 211{
212 current_thread_info()->status |= TS_POLLING; 212 current_thread_info()->status |= TS_POLLING;
213 /* endless idle loop with no priority at all */ 213 /* endless idle loop with no priority at all */