Message ID | 1519633227-29832-43-git-send-email-alex.shi@linaro.org |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 10.46.66.2 with SMTP id p2csp3359253lja; Mon, 26 Feb 2018 00:26:55 -0800 (PST) X-Google-Smtp-Source: AH8x225SIlYkdVhP5+/1MVij0gxUjEDfrCh2ViaRLQZUk71VZju6CzInaKrjAKnZZoppzbABq3C0 X-Received: by 10.99.109.138 with SMTP id i132mr7973118pgc.417.1519633615470; Mon, 26 Feb 2018 00:26:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519633615; cv=none; d=google.com; s=arc-20160816; b=lQtR0Z1lqcrjhGdiFcaJbO7FOTZdQV80A1aKeZ89xMj/t7OQ1AXNoP6W5sTRV76Yys SXMJuT5JexT79F0gyED3/e9PnKcAwu1gk5EWSLJViVBsAPYVJM2GE+HOnwA/yt+C6n2B 8zurchE2pnj31ocIG3mVa8PcLtJ2N1JPYB6IEIy3paQ1GIu+RM09dwhjc+V30Av1mHhU mACRjxB2mdOQUh6VSv2OavkP+6kJFTlRH/gTp5FNYUR4dXBFjvZcOAFnNfZB2LaoSsrT 4a06Gu7rliUiZiaSrXsCowXBeF2dR5kLankcmZYT2kr1RoedjlS8UkLEEDwracBAEwcf C60g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:arc-authentication-results; bh=xjpJ8k7CKNbvTvoCWi2+8tjs1SrG8L5eeUCBFmDTG3o=; b=WHK6GFqAJCJHrz29cOp/qdx9+bZNdA1eMyxK8EdMBbx53ergRZSqvlt0Rqhob2ZRs1 Zzlfdn+N/lymQdBtzyJx9qDrqNwLvRO2RKoA0wZBUnIPdcjPb3JsuzX7qtIj0nSgQRzv h4YEZog8QCsPkWanY142DgyTfAnMyC2wdBAKe3rhuBM5jIsPYRo1bqHBSTpEhzTRU9KO AKS0M07tyuHZ72RtYeFDyLZIjhBa9uB8FJJTEgTLZUSzNiRnUr/08Q8+godgRiX9dusb Xbh09vHqcO8omMtuGxn0zHsq9NySHDT5skcVKpDBD7v2sDpOEumFXi9NudpAeBEG8kR0 Bh8g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=eolpxWlB; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: <linux-kernel-owner@vger.kernel.org> Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a22-v6si5233862plm.773.2018.02.26.00.26.55; Mon, 26 Feb 2018 00:26:55 -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; dkim=pass header.i=@linaro.org header.s=google header.b=eolpxWlB; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752786AbeBZI0v (ORCPT <rfc822; dan.rue@linaro.org> + 28 others); Mon, 26 Feb 2018 03:26:51 -0500 Received: from mail-pl0-f68.google.com ([209.85.160.68]:36131 "EHLO mail-pl0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752492AbeBZI0h (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 26 Feb 2018 03:26:37 -0500 Received: by mail-pl0-f68.google.com with SMTP id v3so8876818plg.3 for <linux-kernel@vger.kernel.org>; Mon, 26 Feb 2018 00:26:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:subject:date:message-id:in-reply-to:references; bh=xjpJ8k7CKNbvTvoCWi2+8tjs1SrG8L5eeUCBFmDTG3o=; b=eolpxWlBa75t/zeVVNzb1Lw41VpQDpfw0BYbrrKAemh0rpgFigirHIYmN5kgW+gJ8p QN2zViHI9mYh5JJub6Z5mFGUi1rblwUNCvhYB624xbndCuL7iu72Ak/GfBr5iHlsYRz2 riuQ7V8VH4wH9/WzMjTZ+i7K5k4txubAZD6ro= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=xjpJ8k7CKNbvTvoCWi2+8tjs1SrG8L5eeUCBFmDTG3o=; b=GCwLWo5xqX66n+9rzbyOortunaTIk8VuE/j2nyAmbSqci8N89ACEtyZtEic58HeMHu 6TkZoAH1MTgfkISUCn7l7M7Di9JoDIKSWJYPZmIrm0hCTzbAqoV0o5Qf4yDpa9IniY2E 2BwbN3LoI/nqNVLweF6c+SZ0lxZjuUDgaqUVJdEygkcXvH9nMs3ufbRo3I2xFQrqh44p ABUz0qFhTys5NASXDZjynE3ON4h3JHLICnF4PnIZXiquZ9N2Wgb0TjW7ANJJlNlGwuxH YrKzHu2s7VTZHFxq2ixYnrkUmpyBkURipCcbBphiEd5PO4Z3BebG9JPnvD9Bcil6DTwZ P1Ng== X-Gm-Message-State: APf1xPB0975VraHqbpDihY7RfQYkmyxWGmoSZziGLBZfHK1HOQDVYYBs tvqFhE7JeiS9WXOZBaIAo7WI3w== X-Received: by 2002:a17:902:5e3:: with SMTP id f90-v6mr9951543plf.413.1519633595873; Mon, 26 Feb 2018 00:26:35 -0800 (PST) Received: from localhost.localdomain (176.122.172.82.16clouds.com. [176.122.172.82]) by smtp.gmail.com with ESMTPSA id o86sm1422706pfi.87.2018.02.26.00.26.30 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 26 Feb 2018 00:26:35 -0800 (PST) From: Alex Shi <alex.shi@linaro.org> To: Marc Zyngier <marc.zyngier@arm.com>, Will Deacon <will.deacon@arm.com>, Ard Biesheuvel <ard.biesheuvel@linaro.org>, Catalin Marinas <catalin.marinas@arm.com>, stable@vger.kernel.org, linux-kernel@vger.kernel.org (open list) Subject: [PATCH 42/52] arm/arm64: smccc: Make function identifiers an unsigned quantity Date: Mon, 26 Feb 2018 16:20:16 +0800 Message-Id: <1519633227-29832-43-git-send-email-alex.shi@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1519633227-29832-1-git-send-email-alex.shi@linaro.org> References: <1519633227-29832-1-git-send-email-alex.shi@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org |
Series |
None
|
expand
|
diff --git a/include/linux/arm-smccc.h b/include/linux/arm-smccc.h index e1ef944..dd44d84 100644 --- a/include/linux/arm-smccc.h +++ b/include/linux/arm-smccc.h @@ -14,14 +14,16 @@ #ifndef __LINUX_ARM_SMCCC_H #define __LINUX_ARM_SMCCC_H +#include <uapi/linux/const.h> + /* * This file provides common defines for ARM SMC Calling Convention as * specified in * http://infocenter.arm.com/help/topic/com.arm.doc.den0028a/index.html */ -#define ARM_SMCCC_STD_CALL 0 -#define ARM_SMCCC_FAST_CALL 1 +#define ARM_SMCCC_STD_CALL _AC(0,U) +#define ARM_SMCCC_FAST_CALL _AC(1,U) #define ARM_SMCCC_TYPE_SHIFT 31 #define ARM_SMCCC_SMC_32 0