]> git.neil.brown.name Git - history.git/commitdiff
ppc64: 32 bit mknod and chmod need no sign extension
authorAnton Blanchard <anton@samba.org>
Sat, 17 Aug 2002 04:37:45 +0000 (14:37 +1000)
committerAnton Blanchard <anton@samba.org>
Sat, 17 Aug 2002 04:37:45 +0000 (14:37 +1000)
arch/ppc64/kernel/misc.S
arch/ppc64/kernel/sys32.S
arch/ppc64/kernel/sys_ppc32.c

index e6526350693f6281c4450f5bbca534baeb3a897e..afdd239bb0829e3c17f40ada518734f3f3d3ea97 100644 (file)
@@ -518,8 +518,8 @@ _GLOBAL(sys_call_table32)
        .llong .sys32_execve
        .llong .sys_chdir
        .llong .sys32_time
-       .llong .sys32_mknod
-       .llong .sys32_chmod             /* 15 */
+       .llong .sys_mknod
+       .llong .sys_chmod               /* 15 */
        .llong .sys_lchown
        .llong .sys_ni_syscall                  /* old break syscall holder */
        .llong .sys32_stat
index f8bae62ec2b863e855a5308f1b9c47845d093319..1f11731cb6f29e7ec7dab36bdaa4b5b6b839aefa 100644 (file)
@@ -19,8 +19,6 @@
 #include <asm/errno.h>
 #include <asm/processor.h>
 
-/* NOTE: call as jump breaks return stack, we have to avoid that */
-
        .text
 
 _GLOBAL(sys32_mmap)
@@ -32,14 +30,6 @@ _GLOBAL(sys32_lseek)
        extsw           r4,r4           /* sign extend off_t offset parm */
        b               .sys_lseek
 
-_GLOBAL(sys32_chmod)
-/* Ken Aaker.. hmmm maybe I don't need to do anything here */
-       b               .sys_chmod
-
-_GLOBAL(sys32_mknod)
-/* Ken Aaker.. hmmm maybe I don't need to do anything here */
-       b               .sys_mknod
-
 _GLOBAL(sys32_sendto)
        clrldi          r7, r7, 32      /* struct sockaddr *addr parm */
        clrldi          r8, r8, 32      /* int addr_len parm */
index 95fb71a2ecfdc0dafc0d8ab84182980c714e2de4..5b430739d18de8370b694d7f2cade46806327b10 100644 (file)
@@ -453,17 +453,6 @@ out:
        return err;
 }
 
-struct dqblk32 {
-    __u32 dqb_bhardlimit;
-    __u32 dqb_bsoftlimit;
-    __u32 dqb_curblocks;
-    __u32 dqb_ihardlimit;
-    __u32 dqb_isoftlimit;
-    __u32 dqb_curinodes;
-    __kernel_time_t32 dqb_btime;
-    __kernel_time_t32 dqb_itime;
-};
-                                
 /* readdir & getdents */
 #define NAME_OFFSET(de) ((int) ((de)->d_name - (char *) (de)))
 #define ROUND_UP(x) (((x)+sizeof(u32)-1) & ~(sizeof(u32)-1))