Hi Trond, On Wed, 6 May 2009 13:32:53 +1000 Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> wrote: > > On Tue, 5 May 2009 13:11:14 +0200 Sam Ravnborg <sam@xxxxxxxxxxxx> wrote: > > > > fix build error with latest kbuild adjustments to initconst. > > > > The commit a447c0932445f92ce6f4c1bd020f62c5097a7842 ("vfs: Use > > const for kernel parser table") changed: > > > > static match_table_t __initdata tokens = { > > to > > static match_table_t __initconst tokens = { > > > > But the missing const causes popwerpc to fail with latest > > updates to __initconst like this: > > > > fs/nfs/nfsroot.c:400: error: __setup_str_nfs_root_setup causes a section type conflict > > fs/nfs/nfsroot.c:400: error: __setup_str_nfs_root_setup causes a section type conflict > > > > The bug is only present with kbuild-next. > > Following patch has been build tested. > > > > Signed-off-by: Sam Ravnborg <sam@xxxxxxxxxxxx> > > Cc: Steven Whitehouse <swhiteho@xxxxxxxxxx> > > Cc: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> > > I build tested this with the offending compilers, so > > Tested-by: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> > Acked-by: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> Any reason this has not appeared in the nfs (or Linus') tree yet? -- Cheers, Stephen Rothwell sfr@xxxxxxxxxxxxxxxx http://www.canb.auug.org.au/~sfr/
Attachment:
pgpyqgvSJ6hS7.pgp
Description: PGP signature