Message ID | 170845946887.398.13250110950661481313.tip-bot2@tip-bot2 |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-73645-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:693c:2685:b0:108:e6aa:91d0 with SMTP id mn5csp638695dyc; Tue, 20 Feb 2024 12:08:12 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCX8l84A0lUHoydQPj46gUzAmiyN57ejP3G3iOcae9Wddupn8drEMvASV5sXSTleTsLKmjSvI8kuxbciEhJAuxvjDRLhCw== X-Google-Smtp-Source: AGHT+IFECPwl+8VKvg37ImnGGWdJoCxge/VGNytsYRoanR+PfGJe5fBKHI3vGqkpRPXFg07FZCPP X-Received: by 2002:a17:90a:c08f:b0:299:21ef:6b5a with SMTP id o15-20020a17090ac08f00b0029921ef6b5amr10907012pjs.24.1708459692655; Tue, 20 Feb 2024 12:08:12 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708459692; cv=pass; d=google.com; s=arc-20160816; b=M4Oj8yp6SEQkocfaRpVAIjv1wbQIb8KMOmAvhMJqkmyOcMPbvTq9q+0CrfkCuMMVd6 CbZSBjizfaSsj/O2LmPVSifn//YufYYAtMCQZfWHTx0sQ4E7UOJ0zCF4VF56HOZ0k2sc rFW0lzzsKjglCE90aRjsp6EEHGYFUFk/96nsmqJ9XJRYCBlAANFxrC9DIf6crTMWeG7y XXnrim4nwvG6PQ99VeMDzYabKlwZAnJRBQ0kuC4PPcblsmQbqEo0uFjJfJ6tsFRB/eLZ QXZGp8VIWFBnvidKlqRJYSi2RnbsxcW1DJxa1YvdSO52jXUltwEozZhkDN3gABzJUeGQ QwNw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:precedence:robot-unsubscribe:robot-id :message-id:mime-version:list-unsubscribe:list-subscribe:list-id :precedence:references:in-reply-to:cc:subject:to:reply-to:sender :from:dkim-signature:dkim-signature:date; bh=V+PAS7/iXPjIql4qTvsf+2JNdjp8EdmiSMeG4dWW9k0=; fh=9TzET5t9qt7/NzJ5Qjz3uc/2R2GVPigMRGq+4RapPhI=; b=OKEraF3bPvNyYOuGuukyl4uPVoTS5qBb+2eZdgheIqOIiacSmKcNHHPisPhqL1bv3a LZ1NF+arfPNFdIrVwyuOz4Ccux1NbCpj1jedCizu3lXE7wLuccCujdPoJb/zXR8B5TLF ikDAFIqq86NAyzAXG967CnOIViXvzm3/m4GLy3DbWKsWltlXCCeJfXVr3lKVUhy+0i8l SCN8Wm/gsmSG1q7SYpZIpkaHk1QMkizt/P8ghJ3ldzyPu2mYh1wyfZIDRcwLWb1bUjve ag6hnVRpJ+sXggHA0pxfqdAMn/MPnjh16B4imX7N85d9IOVT4JnKnHjmzIMhcP3JlAsI F2ew==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=kU2LSl2p; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; arc=pass (i=1 spf=pass spfdomain=linutronix.de dkim=pass dkdomain=linutronix.de dmarc=pass fromdomain=linutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-73645-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-73645-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id h24-20020a17090aa89800b002999018c4aasi44229pjq.118.2024.02.20.12.08.12 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Feb 2024 12:08:12 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-73645-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=kU2LSl2p; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; arc=pass (i=1 spf=pass spfdomain=linutronix.de dkim=pass dkdomain=linutronix.de dmarc=pass fromdomain=linutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-73645-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-73645-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 179E0B243C2 for <ouuuleilei@gmail.com>; Tue, 20 Feb 2024 20:05:50 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A60FB14F9FD; Tue, 20 Feb 2024 20:04:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="kU2LSl2p"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="ghp+GXu3" Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 42AF914C5AB; Tue, 20 Feb 2024 20:04:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=193.142.43.55 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708459473; cv=none; b=r8/6P+m0HnP0sxKnK+h2BZn+DGBGPwv9N/ryqvBPdTw+YPZcXQQXtlKrE3PZQPyziMBC34GF33v+kyXB9zYZRyeBQGmQVx4L1bvl9Rc1ZrZgAN1k49gax2iOyxC36NDivW3SS3O7cxR1gk/zk7DpHMBrxOIlb9LvjjWFy1gxrUY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708459473; c=relaxed/simple; bh=YlaTgNvGPByvLzFwbPsWzVzBF/o2vLeyAX2wtTMioH4=; h=Date:From:To:Subject:Cc:In-Reply-To:References:MIME-Version: Message-ID:Content-Type; b=ZjZcFRYgpF5sBanunLVUfYry84DzqycUwFyhQnNoK2cRPWFEjdf2YztF3U2H8gk79Kgc5flcA1zsG1Qsdbo5sCWHcs4BhZuPpgiY/MHWCU+lb2FCxoMINlTOaCivBOtyoKCwGe7QAPP3ZFW2pDTE3TuUK8qcF/zmyEl0knjgiRk= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de; spf=pass smtp.mailfrom=linutronix.de; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=kU2LSl2p; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=ghp+GXu3; arc=none smtp.client-ip=193.142.43.55 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linutronix.de Date: Tue, 20 Feb 2024 20:04:28 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1708459469; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=V+PAS7/iXPjIql4qTvsf+2JNdjp8EdmiSMeG4dWW9k0=; b=kU2LSl2pVsIohvsK1fGQzh4ZKGyXHRVmoCXJ4l90ReZsgWChsmGRKmppcDOn2WPeH6ulBj Wckg/PYy+l+FMDbLEGb9R+M6M8X0+Zw+6InGMTMGZYTcc7mEQtMW2ZIgNPmGEur8k2z5zI G5AgN8kKdK27Abdrf0NL92C/dZiN/D8mOSdp3v5jn926yPBB45Vjexgo9QWHbV42SPhx+B qYRYkjbN0+MBake4ZR9qVLlQRltXvTuaCPwm1SC0XWvoYpbcV2jIsaPd6UAo3G//tW2ppH cnmdtgqgZWxxK2E+QNTft4AhhgRwdOZnv23Tx6oH7fAS5nLVN2SjIs5N2SX5KA== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1708459469; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=V+PAS7/iXPjIql4qTvsf+2JNdjp8EdmiSMeG4dWW9k0=; b=ghp+GXu3CUsMcI0Ty0l8uB2OB7M5C1XeS0gfmUt9umLz+0fQT8FwasF9/iZ4WPyMsAZevT uLwJMWQ99yW0TGDw== From: "tip-bot2 for Anna-Maria Behnsen" <tip-bot2@linutronix.de> Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: timers/core] riscv: vdso: Use generic union vdso_data_store Cc: "Anna-Maria Behnsen" <anna-maria@linutronix.de>, Thomas Gleixner <tglx@linutronix.de>, x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20240220085212.6547-1-anna-maria@linutronix.de> References: <20240220085212.6547-1-anna-maria@linutronix.de> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Message-ID: <170845946887.398.13250110950661481313.tip-bot2@tip-bot2> Robot-ID: <tip-bot2@linutronix.de> Robot-Unsubscribe: Contact <mailto:tglx@linutronix.de> to get blacklisted from these emails Precedence: bulk Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791449830667713628 X-GMAIL-MSGID: 1791449830667713628 |
Series |
[tip:,timers/core] riscv: vdso: Use generic union vdso_data_store
|
|
Commit Message
tip-bot2 for Thomas Gleixner
Feb. 20, 2024, 8:04 p.m. UTC
The following commit has been merged into the timers/core branch of tip: Commit-ID: eba755314fa7bcb147193f51a44546697f3888f1 Gitweb: https://git.kernel.org/tip/eba755314fa7bcb147193f51a44546697f3888f1 Author: Anna-Maria Behnsen <anna-maria@linutronix.de> AuthorDate: Tue, 20 Feb 2024 09:52:12 +01:00 Committer: Thomas Gleixner <tglx@linutronix.de> CommitterDate: Tue, 20 Feb 2024 20:56:00 +01:00 riscv: vdso: Use generic union vdso_data_store There is already a generic union definition for vdso_data_store in the vdso datapage header. Use this definition to prevent code duplication. Signed-off-by: Anna-Maria Behnsen <anna-maria@linutronix.de> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Link: https://lore.kernel.org/r/20240220085212.6547-1-anna-maria@linutronix.de --- arch/riscv/kernel/vdso.c | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-)
diff --git a/arch/riscv/kernel/vdso.c b/arch/riscv/kernel/vdso.c index 2cf7621..98315b9 100644 --- a/arch/riscv/kernel/vdso.c +++ b/arch/riscv/kernel/vdso.c @@ -30,14 +30,8 @@ enum rv_vdso_map { #define VVAR_SIZE (VVAR_NR_PAGES << PAGE_SHIFT) -/* - * The vDSO data page. - */ -static union { - struct vdso_data data; - u8 page[PAGE_SIZE]; -} vdso_data_store __page_aligned_data; -struct vdso_data *vdso_data = &vdso_data_store.data; +static union vdso_data_store vdso_data_store __page_aligned_data; +struct vdso_data *vdso_data = vdso_data_store.data; struct __vdso_info { const char *name;