From patchwork Wed Apr 30 18:38:26 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Miller X-Patchwork-Id: 344287 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id CB5B11400A0 for ; Thu, 1 May 2014 04:38:41 +1000 (EST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:message-id:to:subject:from:mime-version :content-type:content-transfer-encoding; q=dns; s=default; b=opw F4ghjBZVLd6xc3RsX+UOTKg+vsX9PZZfFoIgycMRG/LH1eOjdae6QSyprXAat8OX CU3OwkA9DXNwJn7WGiWt5uOoHqMRYVc8y/geh7o8UlO4J4/BY92IBOaNps72S+9J 5rWuXHopbjR5tmlMkch2Exd5gWqp7G2OYVNLVbNQ= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:message-id:to:subject:from:mime-version :content-type:content-transfer-encoding; s=default; bh=1u2pS/R9k jPgfauUS+VDcKo5Ggo=; b=FLEW4qqLOvl61spHi1foFRWUsUlsy/vtt3F+lRIK1 mK9pKVBuFdNdB5j4C4/CThgZlPS/DU8pCOzxD04Zhky4zKALiv+y2uzeq0SKBjS3 y9KsFUa3AEDfhQx91wczXnWYWB64PD6reClhPNDv82NOaRmlQWhnTNw1GwAOS+7P tY= Received: (qmail 8584 invoked by alias); 30 Apr 2014 18:38:34 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 8569 invoked by uid 89); 30 Apr 2014 18:38:33 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.8 required=5.0 tests=AWL, BAYES_00 autolearn=ham version=3.3.2 X-HELO: shards.monkeyblade.net Date: Wed, 30 Apr 2014 14:38:26 -0400 (EDT) Message-Id: <20140430.143826.1603137958537360936.davem@davemloft.net> To: libc-alpha@sourceware.org Subject: [PATCH COMMITTED] Fix some sparc conform test failures in siginfo.h From: David Miller Mime-Version: 1.0 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect with XOPEN cpp guards. --- ChangeLog | 5 +++++ sysdeps/unix/sysv/linux/sparc/bits/siginfo.h | 2 ++ 2 files changed, 7 insertions(+) diff --git a/ChangeLog b/ChangeLog index 1e6dda8..30b02e4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2014-04-30 David S. Miller + + * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect + with XOPEN cpp guards. + 2014-04-30 Julian Brown [BZ #16888] diff --git a/sysdeps/unix/sysv/linux/sparc/bits/siginfo.h b/sysdeps/unix/sysv/linux/sparc/bits/siginfo.h index 6c145ce..fcf83c5 100644 --- a/sysdeps/unix/sysv/linux/sparc/bits/siginfo.h +++ b/sysdeps/unix/sysv/linux/sparc/bits/siginfo.h @@ -278,12 +278,14 @@ enum }; # endif +# if defined __USE_XOPEN_EXTENDED || defined __USE_XOPEN2K8 /* `si_code' values for SIGEMT signal. */ enum { EMT_TAGOVF = 1 /* Tag overflow. */ # define EMT_TAGOVF EMT_TAGOVF }; +# endif # undef __need_siginfo_t #endif /* !have siginfo_t && (have _SIGNAL_H || need siginfo_t). */