lkml.org 
[lkml]   [2009]   [Aug]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: nfs: __setup_str_nfs_root_setup causes a section type conflict
Date
On Monday 03 August 2009, Trond Myklebust wrote:
> > > /home/fjp/projects/kernel/linux-2.6/fs/nfs/nfsroot.c:403:
> > > error: __setup_str_nfs_root_setup causes a section type
> > > conflict
>
> If you do a 'make fs/nfs/nfsroot.i', and then look at the resulting
> file fs/nfs/nfsroot.i, what does the line that defines
> '__setup_str_nfs_root_setup' look like?

$ grep __setup_str_nfs_root_setup fs/nfs/nfsroot.i

static const char __setup_str_nfs_root_setup[] __attribute__
((__section__(".init.rodata"))) __attribute__((aligned(1))) = "nfsroot=";
static struct obs_kernel_param __setup_nfs_root_setup
__attribute__((__used__)) __attribute__ ((__section__(".init.setup")))
__attribute__((aligned((sizeof(long))))) = { __setup_str_nfs_root_setup,
nfs_root_setup, 0 };

\
 
 \ /
  Last update: 2009-08-03 21:23    [from the cache]
©2003-2011 Jasper Spaans. Advertise on this site