From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/11133 Path: news.gmane.org!.POSTED!not-for-mail From: "Tuan M. Hoang" Newsgroups: gmane.linux.lib.musl.general Subject: [PATCH] s390x: fix fpreg_t and remove unused per_struct Date: Tue, 14 Mar 2017 16:44:04 -0400 Message-ID: <20170314204404.13196-1-tmhoang@flatglobe.org> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1489524272 13170 195.159.176.226 (14 Mar 2017 20:44:32 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 14 Mar 2017 20:44:32 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-11148-gllmg-musl=m.gmane.org@lists.openwall.com Tue Mar 14 21:44:27 2017 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by blaine.gmane.org with smtp (Exim 4.84_2) (envelope-from ) id 1cntIv-0002hV-Cq for gllmg-musl@m.gmane.org; Tue, 14 Mar 2017 21:44:25 +0100 Original-Received: (qmail 24435 invoked by uid 550); 14 Mar 2017 20:44:29 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Original-Received: (qmail 24397 invoked from network); 14 Mar 2017 20:44:27 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=flatglobe.org; s=google; h=from:to:subject:date:message-id; bh=ObvGZ4RTgE1MrTmEqwHgG52YjzCYnO7knnvzwtIw+6Q=; b=fDH5kmupEUPjhEWM59thwV+O5ZI1+iIE0fcCwwxOXkcW5HeXpTC4Is1nrLeMSMg8bi n0bfDtMMdg1ZJvfkEKz7mh3mCwYCF1/n325OG8YqrKibX6r9UVGWxolX1QrV1Jhm1QYT QaxfXMMqnOcwcI2iuESqGxRCQV4mT+PJHF0W0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id; bh=ObvGZ4RTgE1MrTmEqwHgG52YjzCYnO7knnvzwtIw+6Q=; b=LDoRH1dNWJeJl93xg5PKXFHQFneG6avfvqNoqslizBawtvr0iNzj/uH6U2FzjRMAMr 5CfBgkLOrERLMuMGIPK18iDKisW2gtYkXiXYdfB3R7frctKunAOABOiRMJXJTO39kQd4 rU6AKFCTS1IV+QNCLCq5TiPwvBABf4g6NRLNPu9rYTjRyU7x5wn31XFCOJ0G0lXw5L2s dJkk/IJg0cl0VFF5XbLEuSjnyHIWEzgIt/yGH4dneA+z8Nnxhnve9lJrxK1cO6TXYbqR ByJF2t1TsSniJmbj5L8bKCkAlTFAddk6CXmm612EX0WFaRJsKBOIs5+p3gDzXKcznXOz Xpgg== X-Gm-Message-State: AMke39mQ4NcvlBfWlSkaPhEZWpc9roVrx7bjaZjken5vtAeS8QnTFozN1fLZwYG/1ruIgA== X-Received: by 10.55.166.11 with SMTP id p11mr40089855qke.132.1489524255539; Tue, 14 Mar 2017 13:44:15 -0700 (PDT) X-Mailer: git-send-email 2.11.0 Xref: news.gmane.org gmane.linux.lib.musl.general:11133 Archived-At: Including sys/procfs.h complains unknown type name 'fpreg_t' in bits/user.h. fpreg_t in bits/signal.h and elf_fpreg_t in bits/user.h are practically the same. per_struct is never used, even conflicts with kernel header https://github.com/torvalds/linux/blob/master/arch/s390/include/uapi/asm/ptrace.h --- arch/s390x/bits/user.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/s390x/bits/user.h b/arch/s390x/bits/user.h index 90f07b7..17bce16 100644 --- a/arch/s390x/bits/user.h +++ b/arch/s390x/bits/user.h @@ -8,7 +8,7 @@ typedef union { typedef struct { unsigned fpc; - fpreg_t fprs[16]; + elf_fpreg_t fprs[16]; } elf_fpregset_t; #define ELF_NGREG 27 @@ -32,7 +32,7 @@ struct _user_per_struct { unsigned short perc_atmid; unsigned long address; unsigned char access_id; -} per_struct; +}; struct _user_regs_struct { struct _user_psw_struct psw; -- 2.11.0