diff options
-rw-r--r-- | fs/proc/task_mmu.c | 5 | ||||
-rw-r--r-- | include/linux/mm.h | 2 | ||||
-rw-r--r-- | kernel/signal.c | 5 |
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 | |||
130 | static int show_map_internal(struct seq_file *m, void *v, struct mem_size_stats *mss) | 125 | static 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); | |||
1131 | extern int randomize_va_space; | 1131 | extern int randomize_va_space; |
1132 | #endif | 1132 | #endif |
1133 | 1133 | ||
1134 | const 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 | |||
2580 | void __init signals_init(void) | 2585 | void __init signals_init(void) |
2581 | { | 2586 | { |
2582 | sigqueue_cachep = | 2587 | sigqueue_cachep = |