Commit 70abe157 authored by Russell King's avatar Russell King Committed by Linus Torvalds

[PATCH] drop obsolete stat/waitpid/s(sg)etmask/signal from ARM build

The following patch drops the above functions from the ARM port; we've
already removed them from the syscall table on ARM, so we can safely
remove these from the ARM build.
parent 30b922bc
...@@ -125,7 +125,9 @@ int vfs_fstat(unsigned int fd, struct kstat *stat) ...@@ -125,7 +125,9 @@ int vfs_fstat(unsigned int fd, struct kstat *stat)
return error; return error;
} }
#if !defined(__alpha__) && !defined(__sparc__) && !defined(__ia64__) && !defined(CONFIG_ARCH_S390) && !defined(__hppa__) && !defined(__x86_64__) #if !defined(__alpha__) && !defined(__sparc__) && !defined(__ia64__) \
&& !defined(CONFIG_ARCH_S390) && !defined(__hppa__) && !defined(__x86_64__) \
&& !defined(__arm__)
/* /*
* For backward compatibility? Maybe this should be moved * For backward compatibility? Maybe this should be moved
......
...@@ -687,7 +687,7 @@ asmlinkage long sys_wait4(pid_t pid,unsigned int * stat_addr, int options, struc ...@@ -687,7 +687,7 @@ asmlinkage long sys_wait4(pid_t pid,unsigned int * stat_addr, int options, struc
return retval; return retval;
} }
#if !defined(__alpha__) && !defined(__ia64__) #if !defined(__alpha__) && !defined(__ia64__) && !defined(__arm__)
/* /*
* sys_waitpid() remains for compatibility. waitpid() should be * sys_waitpid() remains for compatibility. waitpid() should be
......
...@@ -1273,7 +1273,7 @@ sys_rt_sigaction(int sig, const struct sigaction *act, struct sigaction *oact, ...@@ -1273,7 +1273,7 @@ sys_rt_sigaction(int sig, const struct sigaction *act, struct sigaction *oact,
#endif /* __sparc__ */ #endif /* __sparc__ */
#endif #endif
#if !defined(__alpha__) && !defined(__ia64__) #if !defined(__alpha__) && !defined(__ia64__) && !defined(__arm__)
/* /*
* For backwards compatibility. Functionality superseded by sigprocmask. * For backwards compatibility. Functionality superseded by sigprocmask.
*/ */
...@@ -1301,7 +1301,8 @@ sys_ssetmask(int newmask) ...@@ -1301,7 +1301,8 @@ sys_ssetmask(int newmask)
} }
#endif /* !defined(__alpha__) */ #endif /* !defined(__alpha__) */
#if !defined(__alpha__) && !defined(__ia64__) && !defined(__mips__) #if !defined(__alpha__) && !defined(__ia64__) && !defined(__mips__) && \
!defined(__arm__)
/* /*
* For backwards compatibility. Functionality superseded by sigaction. * For backwards compatibility. Functionality superseded by sigaction.
*/ */
...@@ -1318,4 +1319,4 @@ sys_signal(int sig, __sighandler_t handler) ...@@ -1318,4 +1319,4 @@ sys_signal(int sig, __sighandler_t handler)
return ret ? ret : (unsigned long)old_sa.sa.sa_handler; return ret ? ret : (unsigned long)old_sa.sa.sa_handler;
} }
#endif /* !alpha && !__ia64__ && !defined(__mips__) */ #endif /* !alpha && !__ia64__ && !defined(__mips__) && !defined(__arm__) */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment