Received: by 2002:ac0:8845:0:0:0:0:0 with SMTP id g63csp2260280img; Wed, 27 Feb 2019 13:18:57 -0800 (PST) X-Google-Smtp-Source: AHgI3Ibxx628WLkE+WDI9hxli6g0hQVfayIWjYcIPI2+QEA1le6OTZggOZRb4Sg9NTNRM1RDDy2E X-Received: by 2002:a63:6a07:: with SMTP id f7mr4948091pgc.118.1551302337671; Wed, 27 Feb 2019 13:18:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551302337; cv=none; d=google.com; s=arc-20160816; b=x79Z+s+SFbO+/ONnmcwrYR8xWPJK6D5qG1CSrxI+jXasS4C7KxqpezceF7CEZQK7LZ IxLNbV0w4nbKAuQN5GzZBwjoMS+lBdk9O/WGNiTILsxmzIeLjFKfE8JyeMx/bBxvqYKj 1KXh4g/DIta5UCu/oyQkKwaX5VWuN+8gCs2Zzg1VhfxzgvaVjJBdaT8ZJmNbqkt2Ko/y y4/CiH5I8GEB/A8K4iF6uXK+0tOYILZ46xghQdBoQoP5JZ3pjrkbOV/sjqGSfsgFavHR KNFCwQZp4MjeXKXENmOgnkF0ashBF05/16rRRASXvQvX0/C8jCThe4mJlV9BIg9ZH1Kh dO7Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=349PyMEMBazd3yhne7vk6gIaeOpULkc3zJy169eiLDw=; b=aBOuUNYutGPNSENbhBytPN6IMScEMFh0qGXtOJQHMjzc8CwVBe87EjniZagfOvPEHs L4l584HV7aGuvhQiS1oGzDp2urQuz60ZC5+BpqVdX2P89xJTKINFg3qvYPYDum9KhzZi HuFuAfc37gdq82ECZvbRlVoBrcOrbfoswrz33GKkizFnOHgQaOxUZPLMrkLpWweYGCZ7 7gwadRXEiftLz96tzPDo2KUA3VRTxe9RJOc9X0VQ9gt7UfSMmfYt7o2X+kDS8Ddd7aQo LCmu3K5f4048JXsHLng+OXHs90J9DaTy5OfZM5YV31TZFQgxIjgYt5YzjnYsrp8CsG5q vxYQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z20si16563510pfl.3.2019.02.27.13.18.25; Wed, 27 Feb 2019 13:18:57 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730319AbfB0VRv (ORCPT + 99 others); Wed, 27 Feb 2019 16:17:51 -0500 Received: from mx1.redhat.com ([209.132.183.28]:46186 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727488AbfB0VRv (ORCPT ); Wed, 27 Feb 2019 16:17:51 -0500 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 01FFC19FB2; Wed, 27 Feb 2019 21:17:51 +0000 (UTC) Received: from jlaw-desktop.bos.redhat.com (dhcp-17-208.bos.redhat.com [10.18.17.208]) by smtp.corp.redhat.com (Postfix) with ESMTP id 5CE0E4B3; Wed, 27 Feb 2019 21:17:50 +0000 (UTC) From: Joe Lawrence To: linux-kernel@vger.kernel.org, live-patching@vger.kernel.org, x86@kernel.org Cc: Jiri Slaby , Josh Poimboeuf Subject: [PATCH] x86/stacktrace: export save_stack_trace_tsk_reliable Date: Wed, 27 Feb 2019 16:17:48 -0500 Message-Id: <20190227211748.9545-1-joe.lawrence@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.39]); Wed, 27 Feb 2019 21:17:51 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The ppc64le implementation of save_stack_trace_tsk_reliable() is exported, so do the same with x86. Signed-off-by: Joe Lawrence --- arch/x86/kernel/stacktrace.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/x86/kernel/stacktrace.c b/arch/x86/kernel/stacktrace.c index 5c2d71a1dc06..ad9b38dabf6a 100644 We could do the inverse and remove the symbol export from arch/powerpc/kernel/stacktrace.c, but I figured the other save_stack_trace_tsk variants are already exported for both arches, so add this one, too. -- JL --- a/arch/x86/kernel/stacktrace.c +++ b/arch/x86/kernel/stacktrace.c @@ -163,6 +163,7 @@ int save_stack_trace_tsk_reliable(struct task_struct *tsk, return ret; } +EXPORT_SYMBOL_GPL(save_stack_trace_tsk_reliable); #endif /* CONFIG_HAVE_RELIABLE_STACKTRACE */ /* Userspace stacktrace - based on kernel/trace/trace_sysprof.c */ -- 2.20.1