lkml.org 
[lkml]   [2009]   [Apr]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH 22/30] microblaze_mmu_v1: Update linker script for MMU
Date
On Monday 27 April 2009, monstr@monstr.eu wrote:
> --- a/arch/microblaze/kernel/vmlinux.lds.S
> +++ b/arch/microblaze/kernel/vmlinux.lds.S
> @@ -17,8 +17,11 @@ ENTRY(_start)
>  jiffies = jiffies_64 + 4;
>  
>  SECTIONS {
> +#ifdef CONFIG_MMU
> +       . = CONFIG_KERNEL_START;
> +#else
>         . = CONFIG_KERNEL_BASE_ADDR;
> -
> +#endif
>         .text : {
>                 _text = . ;
>                 _stext = . ;

This change looks a bit bogus, can't you use the same symbol for
both? I guess either one would be fine, but I don't see a reason
for them to be different.

Arnd <><
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2009-04-29 13:31    [from the cache]
©2003-2011 Jasper Spaans