From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6E6FE16CD0C for ; Mon, 1 Jul 2024 15:19:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.140.110.172 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1719847165; cv=none; b=SQ7kouYBbw7joFZN8CB/MCvCfv7AqdBNNzzG1BUqxX0x2pYcvy5HP/Znhj2E4iXVxzFMyrstnJapw3kl0MtKXjYU4+EXjTE5sQzBIo4i2GQZbzIgvJzTkG9quBH1LxqqlGEMRvWrib+awTl9P5B4A358Wv3BVUS+CeXNu8REG0o= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1719847165; c=relaxed/simple; bh=7wV9GVR+o/bWNN4sS03Jw3MG6wVffPVzE+jw24AtPIg=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=oNlCHeaMKWeyUUuEddvJmmyPnufCt1y0lNleCP2fUbNDaFiiC52oikE+ZbnaifMQM/ddxZuQN9lT5pWvMzgyKieWoXoafObzxhfRHC7CIrC6XnRbwubbz2qcpF39KLCHkiGmEHJ/d6ntohsAz48urKagy/PsAYDlS9N2flaAr7Y= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com; spf=pass smtp.mailfrom=arm.com; arc=none smtp.client-ip=217.140.110.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=arm.com Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id D4BF6367; Mon, 1 Jul 2024 08:19:47 -0700 (PDT) Received: from [10.1.196.72] (e119884-lin.cambridge.arm.com [10.1.196.72]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 932013F73B; Mon, 1 Jul 2024 08:19:21 -0700 (PDT) Message-ID: <4d4efa29-8a6e-40de-8979-3fd13d6bd4db@arm.com> Date: Mon, 1 Jul 2024 16:19:20 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 4/5] x86/vgtod: Remove unused typedef gtod_long_t To: Anna-Maria Behnsen , Andy Lutomirski , Thomas Gleixner Cc: linux-kernel@vger.kernel.org, Ingo Molnar , Borislav Petkov , Dave Hansen , "H. Peter Anvin" , x86@kernel.org References: <20240701-vdso-cleanup-v1-0-36eb64e7ece2@linutronix.de> <20240701-vdso-cleanup-v1-4-36eb64e7ece2@linutronix.de> Content-Language: en-US From: Vincenzo Frascino In-Reply-To: <20240701-vdso-cleanup-v1-4-36eb64e7ece2@linutronix.de> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 01/07/2024 15:47, Anna-Maria Behnsen wrote: > The typedef gtod_long_t is not used anymore so remove it. > > The header file contains then only includes dependent on > CONFIG_GENERIC_GETTIMEOFDAY to not break ARCH=um. Nevertheless, keep the > header file only with those includes to prevent spreading ifdeffery all > over the place. > > Cc: Ingo Molnar > Cc: Borislav Petkov > Cc: Dave Hansen > Cc: H. Peter Anvin > Cc: x86@kernel.org > Signed-off-by: Anna-Maria Behnsen Reviewed-by: Vincenzo Frascino > --- > arch/x86/include/asm/vgtod.h | 5 ----- > 1 file changed, 5 deletions(-) > > diff --git a/arch/x86/include/asm/vgtod.h b/arch/x86/include/asm/vgtod.h > index 7aa38b2ad8a9..a0ce291abcae 100644 > --- a/arch/x86/include/asm/vgtod.h > +++ b/arch/x86/include/asm/vgtod.h > @@ -14,11 +14,6 @@ > > #include > > -#ifdef BUILD_VDSO32_64 > -typedef u64 gtod_long_t; > -#else > -typedef unsigned long gtod_long_t; > -#endif > #endif /* CONFIG_GENERIC_GETTIMEOFDAY */ > > #endif /* _ASM_X86_VGTOD_H */ > -- Regards, Vincenzo