From bf864379817f1be85ea4700b346b3b50103ea426 Mon Sep 17 00:00:00 2001 From: David Howells Date: Thu, 19 Jul 2007 01:49:09 -0700 Subject: [PATCH] --- yaml --- r: 61647 b: refs/heads/master c: ea02e3dde3509ffa7fda7f8de9c8a366e03f7bbd h: refs/heads/master i: 61645: 25335c4838d62041eadc0a1bbd7fb24272ad0b88 61643: 6d5ad7804d833c6146274ab0d3ee153c0ac6cc32 61639: 352e60a82fea42cc5b2fa41278f88ae5e55f6a7c 61631: bacac5cb1f83799c79e19ec7e838e33f75628442 v: v3 --- [refs] | 2 +- trunk/arch/frv/Makefile | 2 +- trunk/mm/slab.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index f88ccb752bc3..0c001fdd9c29 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 3abf7afd406866a84276d3ed04f4edf6070c9cb5 +refs/heads/master: ea02e3dde3509ffa7fda7f8de9c8a366e03f7bbd diff --git a/trunk/arch/frv/Makefile b/trunk/arch/frv/Makefile index 038e3a8457e0..9bf7345c5cc9 100644 --- a/trunk/arch/frv/Makefile +++ b/trunk/arch/frv/Makefile @@ -88,7 +88,7 @@ ASFLAGS += -mno-fdpic # make sure the .S files get compiled with debug info # and disable optimisations that are unhelpful whilst debugging ifdef CONFIG_DEBUG_INFO -CFLAGS += -O1 +#CFLAGS += -O1 AFLAGS += -Wa,--gdwarf2 ASFLAGS += -Wa,--gdwarf2 endif diff --git a/trunk/mm/slab.c b/trunk/mm/slab.c index 96d30ee256ef..88bc6336ce3d 100644 --- a/trunk/mm/slab.c +++ b/trunk/mm/slab.c @@ -1163,7 +1163,7 @@ static int __cpuinit cpuup_callback(struct notifier_block *nfb, struct kmem_cache *cachep; struct kmem_list3 *l3 = NULL; int node = cpu_to_node(cpu); - int memsize = sizeof(struct kmem_list3); + const int memsize = sizeof(struct kmem_list3); switch (action) { case CPU_LOCK_ACQUIRE: