Patchwork sparc32: drop __old_kernel_stat

login
register
mail settings
Submitter Sam Ravnborg
Date Dec. 28, 2008, 8:44 p.m.
Message ID <20081228204430.GA459@uranus.ravnborg.org>
Download mbox | patch
Permalink /patch/15826/
State Accepted
Delegated to: David Miller
Headers show

Comments

Sam Ravnborg - Dec. 28, 2008, 8:44 p.m.
sparc32 do not define __ARCH_WANT_OLD_STAT so
we do not use this structure neither do we support it.

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
---
 arch/sparc/include/asm/stat_32.h |   14 --------------
 1 files changed, 0 insertions(+), 14 deletions(-)
David Miller - Jan. 3, 2009, 2:39 a.m.
From: Sam Ravnborg <sam@ravnborg.org>
Date: Sun, 28 Dec 2008 21:44:30 +0100

> sparc32 do not define __ARCH_WANT_OLD_STAT so
> we do not use this structure neither do we support it.
> 
> Signed-off-by: Sam Ravnborg <sam@ravnborg.org>

Looks good, applied.
--
To unsubscribe from this list: send the line "unsubscribe sparclinux" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Patch

diff --git a/arch/sparc/include/asm/stat_32.h b/arch/sparc/include/asm/stat_32.h
index 2299e1d..643d572 100644
--- a/arch/sparc/include/asm/stat_32.h
+++ b/arch/sparc/include/asm/stat_32.h
@@ -3,20 +3,6 @@ 
 
 #include <linux/types.h>
 
-struct __old_kernel_stat {
-	unsigned short st_dev;
-	unsigned short st_ino;
-	unsigned short st_mode;
-	unsigned short st_nlink;
-	unsigned short st_uid;
-	unsigned short st_gid;
-	unsigned short st_rdev;
-	unsigned long  st_size;
-	unsigned long  st_atime;
-	unsigned long  st_mtime;
-	unsigned long  st_ctime;
-};
-
 struct stat {
 	unsigned short	st_dev;
 	unsigned long	st_ino;