From patchwork Sat Feb 2 23:43:06 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Helge Deller X-Patchwork-Id: 2084821 Return-Path: X-Original-To: patchwork-linux-parisc@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id 374923FD2B for ; Sat, 2 Feb 2013 23:43:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751971Ab3BBXnM (ORCPT ); Sat, 2 Feb 2013 18:43:12 -0500 Received: from mout.gmx.net ([212.227.17.20]:52941 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751689Ab3BBXnL (ORCPT ); Sat, 2 Feb 2013 18:43:11 -0500 Received: from mailout-de.gmx.net ([10.1.76.32]) by mrigmx.server.lan (mrigmx002) with ESMTP (Nemesis) id 0Ls67d-1UyGDS3TyB-013uIM for ; Sun, 03 Feb 2013 00:43:09 +0100 Received: (qmail invoked by alias); 02 Feb 2013 23:43:09 -0000 Received: from p54AD07C7.dip0.t-ipconnect.de (EHLO p100.box) [84.173.7.199] by mail.gmx.net (mp032) with SMTP; 03 Feb 2013 00:43:09 +0100 X-Authenticated: #1045983 X-Provags-ID: V01U2FsdGVkX19arwpQkAta09TQyiGyKyTwGOhEfo5Fd3H4986uv+ rteL47mQrQ84Dp Date: Sun, 3 Feb 2013 00:43:06 +0100 From: Helge Deller To: linux-parisc@vger.kernel.org, James Bottomley , John David Anglin Subject: [PATCH] parisc: space register variables need to be in native length (unsigned long) Message-ID: <20130202234306.GC1188@p100.box> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) X-Y-GMX-Trusted: 0 Sender: linux-parisc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-parisc@vger.kernel.org Signed-off-by: John David Anglin Signed-off-by: Helge Deller --- To unsubscribe from this list: send the line "unsubscribe linux-parisc" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/arch/parisc/kernel/signal.c b/arch/parisc/kernel/signal.c index fd05170..52c85b2 100644 --- a/arch/parisc/kernel/signal.c +++ b/arch/parisc/kernel/signal.c @@ -312,7 +312,7 @@ setup_rt_frame(int sig, struct k_sigaction *ka, siginfo_t *info, #if DEBUG_SIG /* Assert that we're flushing in the correct space... */ { - int sid; + unsigned long sid; asm ("mfsp %%sr3,%0" : "=r" (sid)); DBG(1,"setup_rt_frame: Flushing 64 bytes at space %#x offset %p\n", sid, frame->tramp);