diff options
Diffstat (limited to 'arch/alpha')
-rw-r--r-- | arch/alpha/kernel/alpha_ksyms.c | 12 | ||||
-rw-r--r-- | arch/alpha/kernel/osf_sys.c | 2 | ||||
-rw-r--r-- | arch/alpha/kernel/signal.c | 2 |
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); | |||
53 | extern void __remqu (void); | 53 | extern void __remqu (void); |
54 | 54 | ||
55 | EXPORT_SYMBOL(alpha_mv); | 55 | EXPORT_SYMBOL(alpha_mv); |
56 | EXPORT_SYMBOL(enable_irq); | ||
57 | EXPORT_SYMBOL(disable_irq); | ||
58 | EXPORT_SYMBOL(disable_irq_nosync); | ||
59 | EXPORT_SYMBOL(probe_irq_mask); | ||
60 | EXPORT_SYMBOL(screen_info); | 56 | EXPORT_SYMBOL(screen_info); |
61 | EXPORT_SYMBOL(perf_irq); | 57 | EXPORT_SYMBOL(perf_irq); |
62 | EXPORT_SYMBOL(callback_getenv); | 58 | EXPORT_SYMBOL(callback_getenv); |
@@ -68,19 +64,13 @@ EXPORT_SYMBOL(alpha_using_srm); | |||
68 | 64 | ||
69 | /* platform dependent support */ | 65 | /* platform dependent support */ |
70 | EXPORT_SYMBOL(strcat); | 66 | EXPORT_SYMBOL(strcat); |
71 | EXPORT_SYMBOL(strcmp); | ||
72 | EXPORT_SYMBOL(strcpy); | 67 | EXPORT_SYMBOL(strcpy); |
73 | EXPORT_SYMBOL(strlen); | 68 | EXPORT_SYMBOL(strlen); |
74 | EXPORT_SYMBOL(strncmp); | ||
75 | EXPORT_SYMBOL(strncpy); | 69 | EXPORT_SYMBOL(strncpy); |
76 | EXPORT_SYMBOL(strnlen); | ||
77 | EXPORT_SYMBOL(strncat); | 70 | EXPORT_SYMBOL(strncat); |
78 | EXPORT_SYMBOL(strstr); | ||
79 | EXPORT_SYMBOL(strchr); | 71 | EXPORT_SYMBOL(strchr); |
80 | EXPORT_SYMBOL(strrchr); | 72 | EXPORT_SYMBOL(strrchr); |
81 | EXPORT_SYMBOL(memcmp); | ||
82 | EXPORT_SYMBOL(memmove); | 73 | EXPORT_SYMBOL(memmove); |
83 | EXPORT_SYMBOL(memscan); | ||
84 | EXPORT_SYMBOL(__memcpy); | 74 | EXPORT_SYMBOL(__memcpy); |
85 | EXPORT_SYMBOL(__memset); | 75 | EXPORT_SYMBOL(__memset); |
86 | EXPORT_SYMBOL(__memsetw); | 76 | EXPORT_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. */ |
124 | EXPORT_SYMBOL(kernel_thread); | 114 | EXPORT_SYMBOL(kernel_thread); |
125 | EXPORT_SYMBOL(sys_open); | ||
126 | EXPORT_SYMBOL(sys_dup); | 115 | EXPORT_SYMBOL(sys_dup); |
127 | EXPORT_SYMBOL(sys_exit); | 116 | EXPORT_SYMBOL(sys_exit); |
128 | EXPORT_SYMBOL(sys_write); | 117 | EXPORT_SYMBOL(sys_write); |
129 | EXPORT_SYMBOL(sys_read); | ||
130 | EXPORT_SYMBOL(sys_lseek); | 118 | EXPORT_SYMBOL(sys_lseek); |
131 | EXPORT_SYMBOL(execve); | 119 | EXPORT_SYMBOL(execve); |
132 | EXPORT_SYMBOL(sys_setsid); | 120 | EXPORT_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: | |||
375 | static inline void __user * | 375 | static inline void __user * |
376 | get_sigframe(struct k_sigaction *ka, unsigned long sp, size_t frame_size) | 376 | get_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); |