Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp748971imw; Fri, 8 Jul 2022 11:00:11 -0700 (PDT) X-Google-Smtp-Source: AGRyM1sHk/OaNsPsfEiUR3NrlfiWJ2vsANMAZbUwP4JB6//finXmZay2g6cuWz5QGfactJseivCT X-Received: by 2002:a17:906:ce:b0:715:705e:52fb with SMTP id 14-20020a17090600ce00b00715705e52fbmr4654400eji.303.1657303205064; Fri, 08 Jul 2022 11:00:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657303204; cv=none; d=google.com; s=arc-20160816; b=YP/i8PWo1+/ao6+P9chN93OZXEjFHjoQ/YO5X+QfgCvsQnTxMzBX78m9IKRW1ew6tZ jVOwNcfKLourpgWuUSVv+K1/LgBItqfnaFqsRlmTMIKtS9lb5N/7LXD9JOebt03oWrqF MA9J/AJB1fGihz3tyM77DXBu1ZSUu77Xto3WA1/LvPfl2nLK8mzQ4BLE9qfgs2GBCvpA SsPtYm/ajZnQ1lyOLjDtnwJWNdor9zXFgKGVAHnHv4yARGBgMfxviSU5wdwztP/oW8Ml POyGrJXFfzh4QQhlv4tNtQttHhud1SXjCOHjZzphCcW5OpHJrxqTYmRRWvwk78VrPm6S 7rhQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=HVR1EMjHJ+v5AAAygdoZA3vTH+mMayoHWEamHI0dWck=; b=a+txxZaDsRvmggTpQIcB27FxhlpL5m6DRIvJi2SDlEWyxnVRwH22lCB/OLaelsjdrE 8X0stH8p2lIY4+FzXOvgbkyp4GXHofHWyUoj26uPALc+HCJMWDVSrUaPRgAMnR1IGILe m/T9dhsGlwXB4Q+r603sNQTEH4vz0hpKc4XIYY8HSBl1pSYNsymYcT0gy54+00Y6YCS2 fzExSt/8+Wp5YGm15JeLVpYnE4VIXEit7vCSNh0kJUDzk+UK3XxgrvCuE+AhR9KGS8XX 49TCqycsqGFbTeGmUsd+BSPzoYmzT4CowxZIgpJTcIKvrWmBEMHYhd0ZrjsX084sMsIa oH/w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q16-20020a170906771000b007120b53e117si10273131ejm.26.2022.07.08.10.59.39; Fri, 08 Jul 2022 11:00:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238770AbiGHRcM (ORCPT + 99 others); Fri, 8 Jul 2022 13:32:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36438 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238646AbiGHRcL (ORCPT ); Fri, 8 Jul 2022 13:32:11 -0400 Received: from pegase2.c-s.fr (pegase2.c-s.fr [93.17.235.10]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3F3D413F2F for ; Fri, 8 Jul 2022 10:32:10 -0700 (PDT) Received: from localhost (mailhub3.si.c-s.fr [172.26.127.67]) by localhost (Postfix) with ESMTP id 4LfgMD4FLWz9tM4; Fri, 8 Jul 2022 19:32:08 +0200 (CEST) X-Virus-Scanned: amavisd-new at c-s.fr Received: from pegase2.c-s.fr ([172.26.127.65]) by localhost (pegase2.c-s.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id mTxYpB3tEw-I; Fri, 8 Jul 2022 19:32:08 +0200 (CEST) Received: from messagerie.si.c-s.fr (messagerie.si.c-s.fr [192.168.25.192]) by pegase2.c-s.fr (Postfix) with ESMTP id 4LfgMD3SXFz9tJt; Fri, 8 Jul 2022 19:32:08 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by messagerie.si.c-s.fr (Postfix) with ESMTP id 61E338B7A0; Fri, 8 Jul 2022 19:32:08 +0200 (CEST) X-Virus-Scanned: amavisd-new at c-s.fr Received: from messagerie.si.c-s.fr ([127.0.0.1]) by localhost (messagerie.si.c-s.fr [127.0.0.1]) (amavisd-new, port 10023) with ESMTP id q-MmzzXzFF40; Fri, 8 Jul 2022 19:32:08 +0200 (CEST) Received: from PO20335.IDSI0.si.c-s.fr (unknown [192.168.233.202]) by messagerie.si.c-s.fr (Postfix) with ESMTP id E51418B79F; Fri, 8 Jul 2022 19:32:07 +0200 (CEST) Received: from PO20335.IDSI0.si.c-s.fr (localhost [127.0.0.1]) by PO20335.IDSI0.si.c-s.fr (8.17.1/8.16.1) with ESMTPS id 268HVwj21000727 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Fri, 8 Jul 2022 19:31:58 +0200 Received: (from chleroy@localhost) by PO20335.IDSI0.si.c-s.fr (8.17.1/8.17.1/Submit) id 268HVwmO1000726; Fri, 8 Jul 2022 19:31:58 +0200 X-Authentication-Warning: PO20335.IDSI0.si.c-s.fr: chleroy set sender to christophe.leroy@csgroup.eu using -f From: Christophe Leroy To: Michael Ellerman , Nicholas Piggin , sv@linux.ibm.com, agust@denx.de, jpoimboe@kernel.org, peterz@infradead.org, jbaron@akamai.com, rostedt@goodmis.org, ardb@kernel.org, tglx@linutronix.de, mingo@redhat.com, bp@alien8.de, dave.hansen@linux.intel.com, hpa@zytor.com Cc: Christophe Leroy , linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, x86@kernel.org, chenzhongjin@huawei.com Subject: [PATCH v2 1/7] powerpc: Add missing asm/asm.h for objtool Date: Fri, 8 Jul 2022 19:31:20 +0200 Message-Id: <2bf5e4aa135ae481a34a5cf00448f99a611f4962.1657301423.git.christophe.leroy@csgroup.eu> X-Mailer: git-send-email 2.36.1 In-Reply-To: References: MIME-Version: 1.0 X-Developer-Signature: v=1; a=ed25519-sha256; t=1657301483; l=713; s=20211009; h=from:subject:message-id; bh=zjt5iYxYBPwCOdwC6pJhH6ZqDxcgdW226G/nXx5AgTI=; b=tH+L26Dew9OLiCzOUtFXe1j34NF84smcglOuLpSx9UBq3P9Z+YjiRnCXoVYT5Ydb067qQYgSavAg SV2PRpowBKqas5QVoxE/Se0TiB0WMmuItpxA8qTJZipq4Zt4oPjx X-Developer-Key: i=christophe.leroy@csgroup.eu; a=ed25519; pk=HIzTzUj91asvincQGOFx6+ZF5AoUuP9GdOtQChs7Mm0= Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Since commit e2ef115813c3 ("objtool: Fix STACK_FRAME_NON_STANDARD reloc type"), powerpc needs asm/asm.h to enable objtool. Signed-off-by: Christophe Leroy --- arch/powerpc/include/asm/asm.h | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 arch/powerpc/include/asm/asm.h diff --git a/arch/powerpc/include/asm/asm.h b/arch/powerpc/include/asm/asm.h new file mode 100644 index 000000000000..86f46b604e9a --- /dev/null +++ b/arch/powerpc/include/asm/asm.h @@ -0,0 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _ASM_POWERPC_ASM_H +#define _ASM_POWERPC_ASM_H + +#define _ASM_PTR " .long " + +#endif /* _ASM_POWERPC_ASM_H */ -- 2.36.1