aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert@linux-m68k.org>2012-12-17 18:59:27 -0500
committerLinus Torvalds <torvalds@linux-foundation.org>2012-12-17 20:15:12 -0500
commit3515b737d3c1377874c5cba8b7db3d2477da3af3 (patch)
treede2c13a5b0394de9371dc12a3b457dd62824134d /arch
parent275b8b8917b92822442d6739807a3e033ddbeb5e (diff)
frv: properly use the declarations provided by <asm/sections.h>
- Remove the superfluous address-of ('&') operators, - Remove the unneeded casts, use %p to format pointers instead. Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> Cc: David Howells <dhowells@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/frv/kernel/setup.c12
1 files changed, 5 insertions, 7 deletions
diff --git a/arch/frv/kernel/setup.c b/arch/frv/kernel/setup.c
index 961e18495589..3cb3392f799e 100644
--- a/arch/frv/kernel/setup.c
+++ b/arch/frv/kernel/setup.c
@@ -804,9 +804,9 @@ void __init setup_arch(char **cmdline_p)
804 804
805 BUG_ON(memory_start == memory_end); 805 BUG_ON(memory_start == memory_end);
806 806
807 init_mm.start_code = (unsigned long) &_stext; 807 init_mm.start_code = (unsigned long) _stext;
808 init_mm.end_code = (unsigned long) &_etext; 808 init_mm.end_code = (unsigned long) _etext;
809 init_mm.end_data = (unsigned long) &_edata; 809 init_mm.end_data = (unsigned long) _edata;
810#if 0 /* DAVIDM - don't set brk just incase someone decides to use it */ 810#if 0 /* DAVIDM - don't set brk just incase someone decides to use it */
811 init_mm.brk = (unsigned long) &_end; 811 init_mm.brk = (unsigned long) &_end;
812#else 812#else
@@ -814,10 +814,8 @@ void __init setup_arch(char **cmdline_p)
814#endif 814#endif
815 815
816#ifdef DEBUG 816#ifdef DEBUG
817 printk("KERNEL -> TEXT=0x%06x-0x%06x DATA=0x%06x-0x%06x BSS=0x%06x-0x%06x\n", 817 printk("KERNEL -> TEXT=0x%p-0x%p DATA=0x%p-0x%p BSS=0x%p-0x%p\n",
818 (int) &_stext, (int) &_etext, 818 _stext, _etext, _sdata, _edata, __bss_start, __bss_stop);
819 (int) &_sdata, (int) &_edata,
820 (int) &__bss_start, (int) &__bss_stop);
821#endif 819#endif
822 820
823#ifdef CONFIG_VT 821#ifdef CONFIG_VT