chengshan / rpms / kernel

Forked from rpms/kernel 2 years ago
Clone
f970bd
diff -up linux-3.10.0-327.sdl7.x86_64/drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c.otherfixes linux-3.10.0-327.sdl7.x86_64/drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
f970bd
--- linux-3.10.0-327.sdl7.x86_64/drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c.otherfixes	2015-10-29 16:56:51.000000000 -0400
f970bd
+++ linux-3.10.0-327.sdl7.x86_64/drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c	2015-11-22 00:24:06.753025997 -0500
f970bd
@@ -13314,7 +13314,7 @@ static int bnx2x_ptp_adjtime(struct ptp_
f970bd
 	return 0;
f970bd
 }
f970bd
 
f970bd
-static int bnx2x_ptp_gettime(struct ptp_clock_info *ptp, struct timespec *ts)
f970bd
+static int bnx2x_ptp_gettime(struct ptp_clock_info *ptp, struct timespec64 *ts)
f970bd
 {
f970bd
 	struct bnx2x *bp = container_of(ptp, struct bnx2x, ptp_clock_info);
f970bd
 	u64 ns;
f970bd
@@ -13329,7 +13329,7 @@ static int bnx2x_ptp_gettime(struct ptp_
f970bd
 }
f970bd
 
f970bd
 static int bnx2x_ptp_settime(struct ptp_clock_info *ptp,
f970bd
-			     const struct timespec *ts)
f970bd
+			     const struct timespec64 *ts)
f970bd
 {
f970bd
 	struct bnx2x *bp = container_of(ptp, struct bnx2x, ptp_clock_info);
f970bd
 	u64 ns;
f970bd
diff -up linux-3.10.0-327.sdl7.x86_64/drivers/net/ethernet/intel/ixgbe/ixgbe_ptp.c.otherfixes linux-3.10.0-327.sdl7.x86_64/drivers/net/ethernet/intel/ixgbe/ixgbe_ptp.c
f970bd
--- linux-3.10.0-327.sdl7.x86_64/drivers/net/ethernet/intel/ixgbe/ixgbe_ptp.c.otherfixes	2015-10-29 16:56:51.000000000 -0400
f970bd
+++ linux-3.10.0-327.sdl7.x86_64/drivers/net/ethernet/intel/ixgbe/ixgbe_ptp.c	2015-11-22 00:35:15.639038546 -0500
f970bd
@@ -279,7 +279,7 @@ static int ixgbe_ptp_adjtime(struct ptp_
f970bd
  * read the timecounter and return the correct value on ns,
f970bd
  * after converting it into a struct timespec.
f970bd
  */
f970bd
-static int ixgbe_ptp_gettime(struct ptp_clock_info *ptp, struct timespec *ts)
f970bd
+static int ixgbe_ptp_gettime(struct ptp_clock_info *ptp, struct timespec64 *ts)
f970bd
 {
f970bd
 	struct ixgbe_adapter *adapter =
f970bd
 		container_of(ptp, struct ixgbe_adapter, ptp_caps);
f970bd
@@ -304,7 +304,7 @@ static int ixgbe_ptp_gettime(struct ptp_
f970bd
  * wall timer value.
f970bd
  */
f970bd
 static int ixgbe_ptp_settime(struct ptp_clock_info *ptp,
f970bd
-			     const struct timespec *ts)
f970bd
+			     const struct timespec64 *ts)
f970bd
 {
f970bd
 	struct ixgbe_adapter *adapter =
f970bd
 		container_of(ptp, struct ixgbe_adapter, ptp_caps);
f970bd
@@ -404,7 +404,7 @@ void ixgbe_ptp_overflow_check(struct ixg
f970bd
 {
f970bd
 	bool timeout = time_is_before_jiffies(adapter->last_overflow_check +
f970bd
 					     IXGBE_OVERFLOW_PERIOD);
f970bd
-	struct timespec ts;
f970bd
+	struct timespec64 ts;
f970bd
 
f970bd
 	if (timeout) {
f970bd
 		ixgbe_ptp_gettime(&adapter->ptp_caps, &ts);