diff options
Diffstat (limited to 'net-misc/chrony/files')
-rw-r--r-- | net-misc/chrony/files/chrony-1.25-linux3.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/net-misc/chrony/files/chrony-1.25-linux3.patch b/net-misc/chrony/files/chrony-1.25-linux3.patch new file mode 100644 index 000000000000..473759f24da8 --- /dev/null +++ b/net-misc/chrony/files/chrony-1.25-linux3.patch @@ -0,0 +1,16 @@ +diff -ur chrony-1.25.orig//sys_linux.c chrony-1.25//sys_linux.c +--- chrony-1.25.orig//sys_linux.c 2011-05-04 06:29:40.000000000 -0400 ++++ chrony-1.25//sys_linux.c 2011-06-07 01:29:18.254878791 -0400 +@@ -1050,6 +1050,12 @@ + LOG_FATAL(LOGF_SysLinux, "Kernel version not supported yet, sorry."); + } + break; ++ case 3: ++ /* Linux 3.0 (formerly 2.6.40) */ ++ /* These don't need scaling. (similar to 2.6.28 and later) */ ++ freq_scale = 1.0; ++ have_readonly_adjtime = 2; ++ break; + default: + LOG_FATAL(LOGF_SysLinux, "Kernel's major version not supported yet, sorry"); + break; |