Use the new markers to avoid the warnings from init/main (arm + i386)
and mm/slab (all archs).
With this the noise level is dratiscally reduced.
Sam
diff --git a/init/main.c b/init/main.c
index 1940fa7..1d8ea31 100644
--- a/init/main.c
+++ b/init/main.c
@@ -423,7 +423,7 @@ static void __init setup_command_line(char *command_line)
* gcc-3.4 accidentally inlines this function, so use noinline.
*/
-static void noinline rest_init(void)
+static void __init_refok noinline rest_init(void)
__releases(kernel_lock)
{
int pid;
diff --git a/mm/slab.c b/mm/slab.c
index 944b205..ef60834 100644
--- a/mm/slab.c
+++ b/mm/slab.c
@@ -1960,7 +1960,7 @@ static void slab_destroy(struct kmem_cache *cachep, struct slab *slabp)
* For setting up all the kmem_list3s for cache whose buffer_size is same as
* size of kmem_list3.
*/
-static void __init set_up_list3s(struct kmem_cache *cachep, int index)
+static void __init_refok set_up_list3s(struct kmem_cache *cachep, int index)
{
int node;
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]