aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fs/proc/task_mmu.c5
-rw-r--r--include/linux/mm.h2
-rw-r--r--kernel/signal.c5
3 files changed, 6 insertions, 6 deletions
diff --git a/fs/proc/task_mmu.c b/fs/proc/task_mmu.c
index 0a163a4f7764..6b769afac55a 100644
--- a/fs/proc/task_mmu.c
+++ b/fs/proc/task_mmu.c
@@ -122,11 +122,6 @@ struct mem_size_stats
122 unsigned long private_dirty; 122 unsigned long private_dirty;
123}; 123};
124 124
125__attribute__((weak)) const char *arch_vma_name(struct vm_area_struct *vma)
126{
127 return NULL;
128}
129
130static int show_map_internal(struct seq_file *m, void *v, struct mem_size_stats *mss) 125static int show_map_internal(struct seq_file *m, void *v, struct mem_size_stats *mss)
131{ 126{
132 struct proc_maps_private *priv = m->private; 127 struct proc_maps_private *priv = m->private;
diff --git a/include/linux/mm.h b/include/linux/mm.h
index 22165cb18906..7b703b6d4358 100644
--- a/include/linux/mm.h
+++ b/include/linux/mm.h
@@ -1131,7 +1131,7 @@ void drop_slab(void);
1131extern int randomize_va_space; 1131extern int randomize_va_space;
1132#endif 1132#endif
1133 1133
1134const char *arch_vma_name(struct vm_area_struct *vma); 1134__attribute__((weak)) const char *arch_vma_name(struct vm_area_struct *vma);
1135 1135
1136#endif /* __KERNEL__ */ 1136#endif /* __KERNEL__ */
1137#endif /* _LINUX_MM_H */ 1137#endif /* _LINUX_MM_H */
diff --git a/kernel/signal.c b/kernel/signal.c
index bfdb5686fa3e..05853a7337e3 100644
--- a/kernel/signal.c
+++ b/kernel/signal.c
@@ -2577,6 +2577,11 @@ asmlinkage long sys_rt_sigsuspend(sigset_t __user *unewset, size_t sigsetsize)
2577} 2577}
2578#endif /* __ARCH_WANT_SYS_RT_SIGSUSPEND */ 2578#endif /* __ARCH_WANT_SYS_RT_SIGSUSPEND */
2579 2579
2580__attribute__((weak)) const char *arch_vma_name(struct vm_area_struct *vma)
2581{
2582 return NULL;
2583}
2584
2580void __init signals_init(void) 2585void __init signals_init(void)
2581{ 2586{
2582 sigqueue_cachep = 2587 sigqueue_cachep =