From patchwork Wed Apr 30 18:40: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: 344291 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 74DE7141341 for ; Thu, 1 May 2014 04:40:36 +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=VE/ zhVTtjp4RSV9F6+cxfujWkd8AWo3T5mavBqiV1UUMQISaMPysMlc7I51oPHJTAkh MdEbQ9RYhFXNXggqZEWOM9cfW3z+fE1PPpYt8gntY5s1yf3yv006JtcmACr1qJOR 1EQLGQZIq/YoxhXGfKIM/JmWkbIkGtRcfXD+F8rg= 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=OvUoJz+MY4RvT0Xs/fRcki4S3QNYxeAFnv3e8HxiR Tc4DAZ6vjHm9i+yiGqwNEtRXLSzmMwadkaDkR/dAZ4iPeySEUsEb/vClHt3mwFvs boNc7AkfF7lwJDkeVHQ9baiWimRIUVm2jaISltSIhmqDRA8HlyZ3g6EPNh9yiyL+ aA= Received: (qmail 11135 invoked by alias); 30 Apr 2014 18:40:30 -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 11122 invoked by uid 89); 30 Apr 2014 18:40:29 -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:40:26 -0400 (EDT) Message-Id: <20140430.144026.1471190766496995974.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). */