diff options
author | Johannes Berg <johannes.berg@intel.com> | 2017-02-07 08:07:39 +0100 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2017-02-07 15:07:16 +0100 |
commit | 75239f276ec894c87b8fbc268bdfb0f9fd290445 (patch) | |
tree | 14a91c251f2b1986a709876d90d9a0828b8c3769 /patches/collateral-evolutions/network/0058-ptp_getsettime64 | |
parent | 6981c5a175652d79562795127ab4ff62c9ecfac0 (diff) |
backports: get rid of patch directory structure
This directory structure was never really managed well,
simply get rid of it. With the patch system that only
applies patches when the modified file exists, and with
a lot of spatches applying everywhere anyway, it's no
longer really useful either.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'patches/collateral-evolutions/network/0058-ptp_getsettime64')
-rw-r--r-- | patches/collateral-evolutions/network/0058-ptp_getsettime64/INFO | 11 | ||||
-rw-r--r-- | patches/collateral-evolutions/network/0058-ptp_getsettime64/ptp_getsettime64.cocci | 33 |
2 files changed, 0 insertions, 44 deletions
diff --git a/patches/collateral-evolutions/network/0058-ptp_getsettime64/INFO b/patches/collateral-evolutions/network/0058-ptp_getsettime64/INFO deleted file mode 100644 index 9679d318..00000000 --- a/patches/collateral-evolutions/network/0058-ptp_getsettime64/INFO +++ /dev/null @@ -1,11 +0,0 @@ -In kernel 4.1 struct ptp_clock_info changes function pointers gettime, -settime to gettime64, settime64. - -commit 92f1719407b90475b3be0b7b9c983dec2ff8351e -Author: Richard Cochran <richardcochran@gmail.com> -Date: Sun Mar 29 23:11:51 2015 +0200 - - ptp: introduce get/set time methods with explicit 64 bit seconds. - -git describe --contains 92f1719407b90475b3be0b7b9c983dec2ff8351e -next-20150401~92^2~18^2~22 diff --git a/patches/collateral-evolutions/network/0058-ptp_getsettime64/ptp_getsettime64.cocci b/patches/collateral-evolutions/network/0058-ptp_getsettime64/ptp_getsettime64.cocci deleted file mode 100644 index 3f85c2a4..00000000 --- a/patches/collateral-evolutions/network/0058-ptp_getsettime64/ptp_getsettime64.cocci +++ /dev/null @@ -1,33 +0,0 @@ -// ---------------------------------------------------------------------------- -// handle gettime64 to gettime function assignments -@r1@ -expression E1, E2; -@@ -+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4,1,0) - E1.gettime64 = E2; -+#else -+E1.gettime = E2; -+#endif /* LINUX_VERSION_CODE >= KERNEL_VERSION(4,1,0) */ - -// ---------------------------------------------------------------------------- -// handle calls to gettime64 as calls to gettime -@r2@ -expression E1, E2, E3; -@@ -+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4,1,0) - E1.gettime64(E2, E3); -+#else -+E1.gettime(E2, E3); -+#endif /* LINUX_VERSION_CODE >= KERNEL_VERSION(4,1,0) */ - -// ---------------------------------------------------------------------------- -// handle settime64 to settime function assignments -@r3@ -expression E1, E2; -@@ -+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4,1,0) - E1.settime64 = E2; -+#else -+E1.settime = E2; -+#endif /* LINUX_VERSION_CODE >= KERNEL_VERSION(4,1,0) */ - |