sys-kernel/odroidc1-sources: removed old ntp patch
This commit is contained in:
parent
f236677b84
commit
ab7b10879a
@ -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;
|
||||
}
|
||||
|
@ -29,7 +29,3 @@ src_unpack()
|
||||
git-r3_src_unpack
|
||||
unpack_set_extraversion
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/000_ntp_fix.patch
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user