From patchwork Tue Jul 21 16:43:56 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Grygorii Strashko X-Patchwork-Id: 51324 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-lb0-f198.google.com (mail-lb0-f198.google.com [209.85.217.198]) by patches.linaro.org (Postfix) with ESMTPS id 5F20622AA3 for ; Tue, 21 Jul 2015 16:44:44 +0000 (UTC) Received: by lbcjf8 with SMTP id jf8sf48887029lbc.0 for ; Tue, 21 Jul 2015 09:44:43 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:cc:subject:date:message-id :mime-version:content-type:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=8PRwpylzkySsmcTcfHfU6gAEQg7FUpNFTvfvoST9Za8=; b=GLRBjJlD7Mhxdnd6xg4ggzb0QpyCAGI1k4INTrYP2J0CK8N0mYdhCSTn5raRGYM1GE ZTn32Y4uQPjOOTF/jP3ybBVneMk3D8CgDCKElyBfnz122gUbtJPp8bGG2gkKJRh7s9hN 3Qr6Gsan4k/b6XVWHREIWN7hhFZ0xhlZDbv7foIeb+FY+E3F+nQ2MAV06WyRBBEoFGCJ jG/aR81+gNPdR+9emDIpZ6QWiFN4d6bWR/x9nF70Cvy+ZAkU31cipCf/QCJvRHUS3A83 AauVnflgkWAyCrMV1F6xNavnKw5+yYBQxaNi+dIweW9NdkZJ+L1cBEJ3jDWwkglZVavz scBw== X-Gm-Message-State: ALoCoQk12QBesIAAB5QMLYRLwynZzj5A4u4YeJ2tGysIT2ajwIo7vkGfn/e2zaudxRWXYnikRy6D X-Received: by 10.194.93.198 with SMTP id cw6mr18111531wjb.3.1437497083314; Tue, 21 Jul 2015 09:44:43 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.207.2 with SMTP id ls2ls934945lac.51.gmail; Tue, 21 Jul 2015 09:44:43 -0700 (PDT) X-Received: by 10.112.50.66 with SMTP id a2mr34051870lbo.68.1437497083180; Tue, 21 Jul 2015 09:44:43 -0700 (PDT) Received: from mail-la0-f52.google.com (mail-la0-f52.google.com. [209.85.215.52]) by mx.google.com with ESMTPS id t1si21215167lbk.72.2015.07.21.09.44.43 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 21 Jul 2015 09:44:43 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.52 as permitted sender) client-ip=209.85.215.52; Received: by laem6 with SMTP id m6so121737537lae.0 for ; Tue, 21 Jul 2015 09:44:43 -0700 (PDT) X-Received: by 10.152.9.66 with SMTP id x2mr13238021laa.76.1437497083056; Tue, 21 Jul 2015 09:44:43 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.7.198 with SMTP id l6csp1563855lba; Tue, 21 Jul 2015 09:44:42 -0700 (PDT) X-Received: by 10.50.79.168 with SMTP id k8mr26494406igx.77.1437497080134; Tue, 21 Jul 2015 09:44:40 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i17si2976613icr.2.2015.07.21.09.44.38; Tue, 21 Jul 2015 09:44:40 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-rt-users-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755756AbbGUQoV (ORCPT + 4 others); Tue, 21 Jul 2015 12:44:21 -0400 Received: from bear.ext.ti.com ([192.94.94.41]:56292 "EHLO bear.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755501AbbGUQoU (ORCPT ); Tue, 21 Jul 2015 12:44:20 -0400 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by bear.ext.ti.com (8.13.7/8.13.7) with ESMTP id t6LGi5pu019234; Tue, 21 Jul 2015 11:44:05 -0500 Received: from DFLE72.ent.ti.com (dfle72.ent.ti.com [128.247.5.109]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id t6LGi54e016279; Tue, 21 Jul 2015 11:44:05 -0500 Received: from dflp33.itg.ti.com (10.64.6.16) by DFLE72.ent.ti.com (128.247.5.109) with Microsoft SMTP Server id 14.3.224.2; Tue, 21 Jul 2015 11:43:32 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp33.itg.ti.com (8.14.3/8.13.8) with ESMTP id t6LGi4X7022709; Tue, 21 Jul 2015 11:44:04 -0500 From: Grygorii Strashko To: , CC: Sekhar Nori , Grygorii Strashko Subject: [4.1.2-rt1 PATCH] include/linux/pid.h: fix build error Date: Tue, 21 Jul 2015 19:43:56 +0300 Message-ID: <1437497036-26111-1-git-send-email-grygorii.strashko@ti.com> X-Mailer: git-send-email 2.4.6 MIME-Version: 1.0 Sender: linux-rt-users-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-rt-users@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: patch@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.52 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , From: Grygorii Strashko This patch fixes build error: CC kernel/pid_namespace.o In file included from kernel/pid_namespace.c:11:0: include/linux/pid.h: In function 'get_pid': include/linux/pid.h:78:3: error: implicit declaration of function 'atomic_inc' [-Werror=implicit-function-declaration] atomic_inc(&pid->count); ^ which happens when CONFIG_PROVE_LOCKING=n CONFIG_DEBUG_SPINLOCK=n CONFIG_DEBUG_MUTEXES=n CONFIG_DEBUG_LOCK_ALLOC=n Signed-off-by: Grygorii Strashko --- include/linux/pid.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/linux/pid.h b/include/linux/pid.h index 23705a53..2cc64b7 100644 --- a/include/linux/pid.h +++ b/include/linux/pid.h @@ -2,6 +2,7 @@ #define _LINUX_PID_H #include +#include enum pid_type {