sys-kernel/odroidc1-sources: removed old ntp patch

This commit is contained in:
Thomas Berger 2015-05-08 21:28:38 +02:00
parent f236677b84
commit ab7b10879a
2 changed files with 0 additions and 20 deletions

View File

@ -1,16 +0,0 @@
diff --git a/kernel/time/ntp.c b/kernel/time/ntp.c
index 28db9be..0131530 100644
--- a/kernel/time/ntp.c
+++ b/kernel/time/ntp.c
@@ -632,9 +632,9 @@ int ntp_validate_timex(struct timex *txc)
return -EPERM;
if (txc->modes & ADJ_FREQUENCY) {
- if (LONG_MIN / PPM_SCALE > txc->freq)
+ if (-MAXFREQ_SCALED / PPM_SCALE > txc->freq)
return -EINVAL;
- if (LONG_MAX / PPM_SCALE < txc->freq)
+ if (MAXFREQ_SCALED / PPM_SCALE < txc->freq)
return -EINVAL;
}

View File

@ -29,7 +29,3 @@ src_unpack()
git-r3_src_unpack
unpack_set_extraversion
}
src_prepare() {
epatch "${FILESDIR}"/000_ntp_fix.patch
}