Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp3648478pxk; Tue, 29 Sep 2020 02:33:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz7DVV8xg5s7VIzJIxGWH5dFMjlOFG4NKqhatG/k1GLOjUNs4a5iwVL20ukgCWOW7Riz16y X-Received: by 2002:aa7:dd8d:: with SMTP id g13mr2318324edv.324.1601372015491; Tue, 29 Sep 2020 02:33:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601372015; cv=none; d=google.com; s=arc-20160816; b=U5iobDhxBBxNkBvkTfxBVW/41ePh76nzDeV6/r0nsg/XnFxDNu3egLPAIq66e9lJhJ Qw9scf8bo8GBadwM7xB0HXWZutOh5QLm0n2b/I+nJmYUmm0MQTNGkgT6VlEY2q6G8Pw0 tLZWUK7ojCNdtbe0UH8DT64Gu9umUX1bQycL2WeWY+dOW/FmSfHbhXHK31HpmR2BAWIF uM+yla45cVXinxQCO28wcCovk6pbFjRYDnuFgznGl+zV/2LDgpf+VwkCgH6NLV9mkZPC Uq46ry7olt/1e8s5/YSL0AjneSqvKW+yz7a9bnm+U+89EsFLb3QXqjVAPDcKTJl9B8/o Yf1A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from :dkim-signature; bh=hSwJslaiY7gG5qeB+GpcgMpsjHBVemB3hcRhwqdoyIE=; b=b+k/6FiGbbRLFfuk1z8lgrmln9rIx2P2/NFfTcN0Wgc7qsB0wN3FHUASHZW4mikCYQ CHx6REitrTEivpXSKUw8vlkOmRf1lx3w3msU6/u0Q/p45xKllQP4m4pVvnevvbGTHvxD F0/rQ7Mua6B0eJ0JQSbpI3uxthUYiRN2WE/FQWQzI0OObhbj1esdKqJqm+KTjOPDKd9w pc5WoFHIvETBp0aSw3uOazjRSBx7x/JZ7ym4/k/uNPon9zLqMnc3BFBC67TbrUFuEllf VJsQ34cLK8uM8fiv7Xx9Ai2WSKD/RdYcassvHPf0X6JfIWdUqb4FC7N3ojcxWBzFPd/q X+Gw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=TevtkU14; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dp16si1234474ejc.402.2020.09.29.02.33.12; Tue, 29 Sep 2020 02:33:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=TevtkU14; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727961AbgI2JbB (ORCPT + 99 others); Tue, 29 Sep 2020 05:31:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46632 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727880AbgI2JbB (ORCPT ); Tue, 29 Sep 2020 05:31:01 -0400 Received: from mail-pg1-x543.google.com (mail-pg1-x543.google.com [IPv6:2607:f8b0:4864:20::543]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1A0A6C061755; Tue, 29 Sep 2020 02:31:00 -0700 (PDT) Received: by mail-pg1-x543.google.com with SMTP id t14so3373254pgl.10; Tue, 29 Sep 2020 02:31:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=hSwJslaiY7gG5qeB+GpcgMpsjHBVemB3hcRhwqdoyIE=; b=TevtkU14EEU9v4x2TjhpA32KpPjD4lpdqbwrVpGhWJRx3CTto97Ao4fzjpPe68cOay 29uiROXJHik0jMhMOSE1PoSrn3cloyDjol9YDDjj9oS1YovEFeDr+61Dbl+7VO6UXm2+ 5Puu9BkjuID4Q6858+cV3oOHptItHJSdXGSvkiEMNI6Vq0JkYjZV2Q8eogGFFiVhQwDF axaQ8r8SHtPDAqdxi0XYW87LkUApeepZb11s2WpPwbUrhf+O/7zbrnOeRwa5j3tLs9pO yV6s9Y9cIGOdAH4jWT9k/WDnIte54NL5UnGYjl2ip4xInA+W+BFwuvJy+NlkbRH9W2KA z/Tg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=hSwJslaiY7gG5qeB+GpcgMpsjHBVemB3hcRhwqdoyIE=; b=GJvsmLd5S+7MzDxQlVCXlj0aqnvwzHR5pSWJxjye5T2Nftf0oJZkC/gH85aM19D/68 8na9TiJ9IRswmWnGrAp7lhFgV1DJb6qA/7BBNJFdT2lh0WOf5Cl/NPZtuNHRNn+gDAnA ZEnfvzVoM70P5u+tj8RmtK3CvMvBd31t94s+rrk553XzEcSTvgAZHv3kF+oP5vfUXB/5 kMJ7WAkAgtdtL+YdAj/vH5t4+tYYEHxdCNo1ys5HOG09gmvJ5JzxkkIRah2UgsCIUuwk X9y1IZN5YvAYLLYWjPy1LOfyqkO+ydVwOfX5iELZh7f7DEbHUjymbs1fV1z8ZGkGVdlB H/2Q== X-Gm-Message-State: AOAM532a8EUDGwuADiM1U5aE/+55wOeZZ5PzIAD5Je+ZiBu3ZwbnDi2r Ju+UafgIx4yIAY6CntrwUQ== X-Received: by 2002:a62:545:0:b029:142:2501:35db with SMTP id 66-20020a6205450000b0290142250135dbmr3150198pff.59.1601371859649; Tue, 29 Sep 2020 02:30:59 -0700 (PDT) Received: from localhost.localdomain ([47.242.140.181]) by smtp.gmail.com with ESMTPSA id e11sm1966179pjr.2.2020.09.29.02.30.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 29 Sep 2020 02:30:59 -0700 (PDT) From: Pujin Shi To: Thomas Bogendoerfer Cc: Yousong Zhou , Paul Burton , Thomas Gleixner , Vincenzo Frascino , Jiaxun Yang , linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org, Pujin Shi Subject: [PATCH 1/2] MIPS: process: Add prototype for function arch_dup_task_struct Date: Tue, 29 Sep 2020 17:30:46 +0800 Message-Id: <20200929093047.1425-1-shipujin.t@gmail.com> X-Mailer: git-send-email 2.18.4 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This commit adds a prototype to fix warning at W=1: arch/mips/kernel/process.c:95:5: error: no previous prototype for 'arch_dup_task_struct' [-Werror=missing-prototypes] Signed-off-by: Pujin Shi --- arch/mips/include/asm/processor.h | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/mips/include/asm/processor.h b/arch/mips/include/asm/processor.h index 856e12f6063d..7834e7c0c78a 100644 --- a/arch/mips/include/asm/processor.h +++ b/arch/mips/include/asm/processor.h @@ -29,6 +29,7 @@ */ extern unsigned int vced_count, vcei_count; +extern int arch_dup_task_struct(struct task_struct *dst, struct task_struct *src); #ifdef CONFIG_32BIT #ifdef CONFIG_KVM_GUEST -- 2.18.1