From patchwork Fri Jun 16 15:02:33 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andy Shevchenko X-Patchwork-Id: 13282869 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id D61E5EB64D8 for ; Fri, 16 Jun 2023 15:04:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345470AbjFPPEX (ORCPT ); Fri, 16 Jun 2023 11:04:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57782 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345857AbjFPPEE (ORCPT ); Fri, 16 Jun 2023 11:04:04 -0400 Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AA1B23A89; Fri, 16 Jun 2023 08:03:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1686927835; x=1718463835; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=mFQp2Dp+OGh9bB+97IQPS3/rYYC1sOLLK8wCF9H2RG0=; b=IiiyVsOh5ovozZE6NABV6SS/b8A8tSXrGCoL0K5uuxWFPAn6gSaj6AG2 uIOG6ZySHUNviQuREFafd7RK9VNWVfjxfFK/ImNgtJcqLxiJpHlrqeuhp TteVhtcgZ+NaU+4VrSW28P7nqJJmPFEztcAgiu+FAZVEZOGz2SXq3Xp0V kpq4IoiDPyhW9Z/0y02/sd/t50mJuHNh+fS1QQJGDlAj4qVmWr2XjeqG4 Xn63VhMwygF99xkzl0UeVKkqmpfVgYshtC9sIneb5auxSEShd/z4nkGZf 9Elk7nPKQGrXn0yvSJFnSFRAFyH/LOkI2l7CElvfWPyRlUbpF73gK3/uI w==; X-IronPort-AV: E=McAfee;i="6600,9927,10742"; a="343970303" X-IronPort-AV: E=Sophos;i="6.00,247,1681196400"; d="scan'208";a="343970303" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Jun 2023 08:03:01 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10742"; a="959650863" X-IronPort-AV: E=Sophos;i="6.00,247,1681196400"; d="scan'208";a="959650863" Received: from black.fi.intel.com ([10.237.72.28]) by fmsmga006.fm.intel.com with ESMTP; 16 Jun 2023 08:02:26 -0700 Received: by black.fi.intel.com (Postfix, from userid 1003) id 9914F379; Fri, 16 Jun 2023 18:02:35 +0300 (EEST) From: Andy Shevchenko To: Paolo Bonzini , Sean Christopherson , kvm@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , x86@kernel.org, "H. Peter Anvin" , Andy Shevchenko Subject: [PATCH v1 1/1] KVM: x86: Remove PRIx* definitions as they are solely for user space Date: Fri, 16 Jun 2023 18:02:33 +0300 Message-Id: <20230616150233.83813-1-andriy.shevchenko@linux.intel.com> X-Mailer: git-send-email 2.40.0.1.gaa8946217a0b MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org In the Linux kernel we do not support PRI.64 specifiers. Moreover they seem not to be used anyway here. Drop them. Signed-off-by: Andy Shevchenko --- arch/x86/kvm/lapic.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/arch/x86/kvm/lapic.c b/arch/x86/kvm/lapic.c index 3c300a196bdf..113ca9661ab2 100644 --- a/arch/x86/kvm/lapic.c +++ b/arch/x86/kvm/lapic.c @@ -51,11 +51,6 @@ #define mod_64(x, y) ((x) % (y)) #endif -#define PRId64 "d" -#define PRIx64 "llx" -#define PRIu64 "u" -#define PRIo64 "o" - /* 14 is the version for Xeon and Pentium 8.4.8*/ #define APIC_VERSION 0x14UL #define LAPIC_MMIO_LENGTH (1 << 12)