From patchwork Tue Mar 3 18:04:45 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gustavo Zacarias X-Patchwork-Id: 445841 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from silver.osuosl.org (silver.osuosl.org [140.211.166.136]) by ozlabs.org (Postfix) with ESMTP id DC5731400DD for ; Wed, 4 Mar 2015 05:05:15 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=fail reason="verification failed; unprotected key" header.d=zacarias.com.ar header.i=@zacarias.com.ar header.b=itr8+CKR; dkim-adsp=fail (unprotected policy); dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 47C1932DE0; Tue, 3 Mar 2015 18:05:13 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ioniL40+Arpc; Tue, 3 Mar 2015 18:05:05 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 9F6F831306; Tue, 3 Mar 2015 18:05:05 +0000 (UTC) X-Original-To: uclibc@lists.busybox.net Delivered-To: uclibc@osuosl.org Received: from fraxinus.osuosl.org (fraxinus.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id 8E04C1C16C1 for ; Tue, 3 Mar 2015 18:05:04 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 88621A2390 for ; Tue, 3 Mar 2015 18:05:04 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id rKm5ExTkl4qS for ; Tue, 3 Mar 2015 18:05:01 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from www.zacarias.com.ar (www.zacarias.com.ar [176.9.42.171]) by fraxinus.osuosl.org (Postfix) with ESMTPS id 9F625A18BA for ; Tue, 3 Mar 2015 18:05:00 +0000 (UTC) Received: from asgard (cpe-181-46-99-160.telecentro-reversos.com.ar [181.46.99.160] (may be forged)) (authenticated bits=0) by www.zacarias.com.ar (8.14.9/8.14.9) with ESMTP id t23I4pf4019472 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 3 Mar 2015 18:04:54 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=zacarias.com.ar; s=dkey; t=1425405896; bh=bP2PYmnz0FSAXVaUN9lI16dQKZkFyFVgM3m533mllH4=; h=From:To:Cc:Subject:Date; b=itr8+CKRSuxV/V6rbWRPUWxVURspOzgJkXh/2wurFg1Xr+pGfIk+XHInyrr1KkRio 8WFhtfiOkuV7FnOHXajpCx6ZT5kC5YU0XGbkK+uLwwJjp//oFJVfzox/bFppUmDb4s ZFrMd1iv8ATAdcV2gxewUOJp4MQYYdVEj9OLbDo0= Received: by asgard (sSMTP sendmail emulation); Tue, 03 Mar 2015 15:04:45 -0300 From: Gustavo Zacarias To: uclibc@uclibc.org Subject: [PATCH] sparc/clone.S: guard tcb-offsets.h include with RESET_PID Date: Tue, 3 Mar 2015 15:04:45 -0300 Message-Id: <1425405885-10455-1-git-send-email-gustavo@zacarias.com.ar> X-Mailer: git-send-email 2.0.5 X-Virus-Scanned: clamav-milter 0.98.6 at www X-Virus-Status: Clean X-BeenThere: uclibc@uclibc.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Discussion and development of uClibc \(the embedded C library\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: uclibc-bounces@uclibc.org Sender: "uClibc" Otherwise we have a broken scenario with non-threading builds. Signed-off-by: Gustavo Zacarias --- libc/sysdeps/linux/sparc/clone.S | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libc/sysdeps/linux/sparc/clone.S b/libc/sysdeps/linux/sparc/clone.S index 8d9da5a..1d0e3e6 100644 --- a/libc/sysdeps/linux/sparc/clone.S +++ b/libc/sysdeps/linux/sparc/clone.S @@ -22,7 +22,9 @@ #include #include +#ifdef RESET_PID #include +#endif #include #define CLONE_VM 0x00000100