pengqianheng / rpms / kernel

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