From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759287Ab0JHRzQ (ORCPT ); Fri, 8 Oct 2010 13:55:16 -0400 Received: from one.firstfloor.org ([213.235.205.2]:36971 "EHLO one.firstfloor.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932551Ab0JHRzO (ORCPT ); Fri, 8 Oct 2010 13:55:14 -0400 From: Andi Kleen To: torvalds@linux-foundation.org Cc: linux-kernel@vger.kernel.org, Andi Kleen , ralf@linux-mips.org, tony.luck@intel.com Subject: [PATCH] Define _addr_lsb in siginfo_t for mips and ia64 Date: Fri, 8 Oct 2010 19:55:01 +0200 Message-Id: <1286560501-26843-1-git-send-email-andi@firstfloor.org> X-Mailer: git-send-email 1.7.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Andi Kleen Define an _addr_lsb field in the mips and ia64 siginfo_ts, following the asm-generic version. This just puts the field over padding. This fixes a compilation problem introduced with a337fda. Cc: ralf@linux-mips.org Cc: tony.luck@intel.com Signed-off-by: Andi Kleen --- arch/ia64/include/asm/siginfo.h | 1 + arch/mips/include/asm/siginfo.h | 1 + 2 files changed, 2 insertions(+), 0 deletions(-) diff --git a/arch/ia64/include/asm/siginfo.h b/arch/ia64/include/asm/siginfo.h index 118d429..d20bf96 100644 --- a/arch/ia64/include/asm/siginfo.h +++ b/arch/ia64/include/asm/siginfo.h @@ -62,6 +62,7 @@ typedef struct siginfo { int _imm; /* immediate value for "break" */ unsigned int _flags; /* see below */ unsigned long _isr; /* isr */ + short _addr_lsb; } _sigfault; /* SIGPOLL */ diff --git a/arch/mips/include/asm/siginfo.h b/arch/mips/include/asm/siginfo.h index 96e28f1..709f7d4 100644 --- a/arch/mips/include/asm/siginfo.h +++ b/arch/mips/include/asm/siginfo.h @@ -88,6 +88,7 @@ typedef struct siginfo { #ifdef __ARCH_SI_TRAPNO int _trapno; /* TRAP # which caused the signal */ #endif + short _addr_lsb; } _sigfault; /* SIGPOLL, SIGXFSZ (To do ...) */ -- 1.7.1