Code Review
/
kvmfornfv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
These changes are the raw update to linux-4.4.6-rt14. Kernel sources
[kvmfornfv.git]
/
kernel
/
arch
/
x86
/
kernel
/
rtc.c
diff --git
a/kernel/arch/x86/kernel/rtc.c
b/kernel/arch/x86/kernel/rtc.c
index
cd96852
..
4af8d06
100644
(file)
--- a/
kernel/arch/x86/kernel/rtc.c
+++ b/
kernel/arch/x86/kernel/rtc.c
@@
-200,6
+200,9
@@
static __init int add_rtc_cmos(void)
}
#endif
+ if (paravirt_enabled() && !paravirt_has(RTC))
+ return -ENODEV;
+
platform_device_register(&rtc_device);
dev_info(&rtc_device.dev,
"registered platform RTC device (no PNP device found)\n");