aboutsummaryrefslogtreecommitdiffstats
path: root/arch/alpha
diff options
context:
space:
mode:
Diffstat (limited to 'arch/alpha')
-rw-r--r--arch/alpha/kernel/alpha_ksyms.c12
-rw-r--r--arch/alpha/kernel/osf_sys.c2
-rw-r--r--arch/alpha/kernel/signal.c2
3 files changed, 2 insertions, 14 deletions
diff --git a/arch/alpha/kernel/alpha_ksyms.c b/arch/alpha/kernel/alpha_ksyms.c
index 2b245ad731ee..d3848c5b0d2b 100644
--- a/arch/alpha/kernel/alpha_ksyms.c
+++ b/arch/alpha/kernel/alpha_ksyms.c
@@ -53,10 +53,6 @@ extern void __divqu (void);
53extern void __remqu (void); 53extern void __remqu (void);
54 54
55EXPORT_SYMBOL(alpha_mv); 55EXPORT_SYMBOL(alpha_mv);
56EXPORT_SYMBOL(enable_irq);
57EXPORT_SYMBOL(disable_irq);
58EXPORT_SYMBOL(disable_irq_nosync);
59EXPORT_SYMBOL(probe_irq_mask);
60EXPORT_SYMBOL(screen_info); 56EXPORT_SYMBOL(screen_info);
61EXPORT_SYMBOL(perf_irq); 57EXPORT_SYMBOL(perf_irq);
62EXPORT_SYMBOL(callback_getenv); 58EXPORT_SYMBOL(callback_getenv);
@@ -68,19 +64,13 @@ EXPORT_SYMBOL(alpha_using_srm);
68 64
69/* platform dependent support */ 65/* platform dependent support */
70EXPORT_SYMBOL(strcat); 66EXPORT_SYMBOL(strcat);
71EXPORT_SYMBOL(strcmp);
72EXPORT_SYMBOL(strcpy); 67EXPORT_SYMBOL(strcpy);
73EXPORT_SYMBOL(strlen); 68EXPORT_SYMBOL(strlen);
74EXPORT_SYMBOL(strncmp);
75EXPORT_SYMBOL(strncpy); 69EXPORT_SYMBOL(strncpy);
76EXPORT_SYMBOL(strnlen);
77EXPORT_SYMBOL(strncat); 70EXPORT_SYMBOL(strncat);
78EXPORT_SYMBOL(strstr);
79EXPORT_SYMBOL(strchr); 71EXPORT_SYMBOL(strchr);
80EXPORT_SYMBOL(strrchr); 72EXPORT_SYMBOL(strrchr);
81EXPORT_SYMBOL(memcmp);
82EXPORT_SYMBOL(memmove); 73EXPORT_SYMBOL(memmove);
83EXPORT_SYMBOL(memscan);
84EXPORT_SYMBOL(__memcpy); 74EXPORT_SYMBOL(__memcpy);
85EXPORT_SYMBOL(__memset); 75EXPORT_SYMBOL(__memset);
86EXPORT_SYMBOL(__memsetw); 76EXPORT_SYMBOL(__memsetw);
@@ -122,11 +112,9 @@ EXPORT_SYMBOL(alpha_write_fp_reg_s);
122 112
123/* In-kernel system calls. */ 113/* In-kernel system calls. */
124EXPORT_SYMBOL(kernel_thread); 114EXPORT_SYMBOL(kernel_thread);
125EXPORT_SYMBOL(sys_open);
126EXPORT_SYMBOL(sys_dup); 115EXPORT_SYMBOL(sys_dup);
127EXPORT_SYMBOL(sys_exit); 116EXPORT_SYMBOL(sys_exit);
128EXPORT_SYMBOL(sys_write); 117EXPORT_SYMBOL(sys_write);
129EXPORT_SYMBOL(sys_read);
130EXPORT_SYMBOL(sys_lseek); 118EXPORT_SYMBOL(sys_lseek);
131EXPORT_SYMBOL(execve); 119EXPORT_SYMBOL(execve);
132EXPORT_SYMBOL(sys_setsid); 120EXPORT_SYMBOL(sys_setsid);
diff --git a/arch/alpha/kernel/osf_sys.c b/arch/alpha/kernel/osf_sys.c
index 31afe3d91ac6..e15dcf4f3dcd 100644
--- a/arch/alpha/kernel/osf_sys.c
+++ b/arch/alpha/kernel/osf_sys.c
@@ -244,7 +244,7 @@ do_osf_statfs(struct dentry * dentry, struct osf_statfs __user *buffer,
244 unsigned long bufsiz) 244 unsigned long bufsiz)
245{ 245{
246 struct kstatfs linux_stat; 246 struct kstatfs linux_stat;
247 int error = vfs_statfs(dentry->d_inode->i_sb, &linux_stat); 247 int error = vfs_statfs(dentry, &linux_stat);
248 if (!error) 248 if (!error)
249 error = linux_to_osf_statfs(&linux_stat, buffer, bufsiz); 249 error = linux_to_osf_statfs(&linux_stat, buffer, bufsiz);
250 return error; 250 return error;
diff --git a/arch/alpha/kernel/signal.c b/arch/alpha/kernel/signal.c
index 2e45e8604e32..741da0945dc4 100644
--- a/arch/alpha/kernel/signal.c
+++ b/arch/alpha/kernel/signal.c
@@ -375,7 +375,7 @@ give_sigsegv:
375static inline void __user * 375static inline void __user *
376get_sigframe(struct k_sigaction *ka, unsigned long sp, size_t frame_size) 376get_sigframe(struct k_sigaction *ka, unsigned long sp, size_t frame_size)
377{ 377{
378 if ((ka->sa.sa_flags & SA_ONSTACK) != 0 && ! on_sig_stack(sp)) 378 if ((ka->sa.sa_flags & SA_ONSTACK) != 0 && ! sas_ss_flags(sp))
379 sp = current->sas_ss_sp + current->sas_ss_size; 379 sp = current->sas_ss_sp + current->sas_ss_size;
380 380
381 return (void __user *)((sp - frame_size) & -32ul); 381 return (void __user *)((sp - frame_size) & -32ul);