From patchwork Sun Dec 28 21:47:39 2008 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sam Ravnborg X-Patchwork-Id: 15828 X-Patchwork-Delegate: davem@davemloft.net Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by ozlabs.org (Postfix) with ESMTP id 4893FDDDEE for ; Mon, 29 Dec 2008 08:46:07 +1100 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753942AbYL1VqG (ORCPT ); Sun, 28 Dec 2008 16:46:06 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1756529AbYL1VqF (ORCPT ); Sun, 28 Dec 2008 16:46:05 -0500 Received: from pfepa.post.tele.dk ([195.41.46.235]:56523 "EHLO pfepa.post.tele.dk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756435AbYL1VqE (ORCPT ); Sun, 28 Dec 2008 16:46:04 -0500 Received: from ravnborg.org (x1-6-00-1e-2a-84-ae-3e.k225.webspeed.dk [80.163.61.94]) by pfepa.post.tele.dk (Postfix) with ESMTP id 084DBA50038; Sun, 28 Dec 2008 22:46:01 +0100 (CET) Received: by ravnborg.org (Postfix, from userid 500) id 3E3B0580D0; Sun, 28 Dec 2008 22:47:39 +0100 (CET) Date: Sun, 28 Dec 2008 22:47:39 +0100 From: Sam Ravnborg To: "David S. Miller" , sparclinux Subject: [PATCH 1/2] sparc32: use proper types in struct stat Message-ID: <20081228214739.GA11917@uranus.ravnborg.org> Mime-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.4.2.1i Sender: sparclinux-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: sparclinux@vger.kernel.org Like sparc64 use proper types in struct stat Signed-off-by: Sam Ravnborg --- This patch should be applied after "drop old_kernel_stat". Sam arch/sparc/include/asm/stat_32.h | 20 ++++++++++---------- 1 files changed, 10 insertions(+), 10 deletions(-) diff --git a/arch/sparc/include/asm/stat_32.h b/arch/sparc/include/asm/stat_32.h index 643d572..45b3ee4 100644 --- a/arch/sparc/include/asm/stat_32.h +++ b/arch/sparc/include/asm/stat_32.h @@ -5,21 +5,21 @@ struct stat { unsigned short st_dev; - unsigned long st_ino; - unsigned short st_mode; + ino_t st_ino; + mode_t st_mode; short st_nlink; - unsigned short st_uid; - unsigned short st_gid; + uid_t st_uid; + gid_t st_gid; unsigned short st_rdev; - long st_size; - long st_atime; + off_t st_size; + time_t st_atime; unsigned long st_atime_nsec; - long st_mtime; + time_t st_mtime; unsigned long st_mtime_nsec; - long st_ctime; + time_t st_ctime; unsigned long st_ctime_nsec; - long st_blksize; - long st_blocks; + off_t st_blksize; + off_t st_blocks; unsigned long __unused4[2]; };