From: Paolo Bonzini Subject: [PATCH 4/4] add trace_seq_buffer_ptr Date: Thu, 8 Jan 2015 11:32:39 +0100 Message-ID: <1420713159-25947-5-git-send-email-pbonzini@redhat.com> References: <1420713159-25947-1-git-send-email-pbonzini@redhat.com> Cc: jan.kiszka@siemens.com To: kvm@vger.kernel.org Return-path: Received: from mail-we0-f170.google.com ([74.125.82.170]:52562 "EHLO mail-we0-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756086AbbAHKcx (ORCPT ); Thu, 8 Jan 2015 05:32:53 -0500 Received: by mail-we0-f170.google.com with SMTP id w61so1660332wes.1 for ; Thu, 08 Jan 2015 02:32:51 -0800 (PST) In-Reply-To: <1420713159-25947-1-git-send-email-pbonzini@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: These API changes were introduced in 3.19-rc1. Update source pointer since this is the only required change for 3.19-rc1. Signed-off-by: Paolo Bonzini --- external-module-compat-comm.h | 4 ++++ linux | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/external-module-compat-comm.h b/external-module-compat-comm.h index f0e1ce2..66cfde2 100644 --- a/external-module-compat-comm.h +++ b/external-module-compat-comm.h @@ -1452,3 +1452,7 @@ static inline void pci_set_dev_assigned(struct pci_dev *pdev) #if LINUX_VERSION_CODE < KERNEL_VERSION(3,17,0) void *get_xsave_addr(struct xsave_struct *xsave, int feature); #endif + +#if LINUX_VERSION_CODE < KERNEL_VERSION(3,19,0) +#define trace_seq_buffer_ptr(p) ((p)->buffer + (p)->len) +#endif diff --git a/linux b/linux index b2776bf..97bf6af 160000 --- a/linux +++ b/linux @@ -1 +1 @@ -Subproject commit b2776bf7149bddd1f4161f14f79520f17fc1d71d +Subproject commit 97bf6af1f928216fd6c5a66e8a57bfa95a659672 -- 1.8.3.1