kernel-ark/scripts
Robin Holt a89a0a2354 kbuild: Fix genksyms handling of DEFINE_PER_CPU(struct foo_s *, bar);
This is a one-line change to parse.y.
To take advantage of this the scripts/genksyms/*_shipped files needs to
be rebuild - this is the next patch.

When a .c file contains:
DEFINE_PER_CPU(struct foo_s *, bar);

the .cpp output looks like:
__attribute__((__section__(".data.percpu"))) __typeof__(struct foo_s *) per_cpu__bar;

With the existing parse.y, the value inside the paranthesis of
__typeof__() does not evaluate as a type_specifier and therefore
per_cpu__bar does not get assigned a type for genksyms which results in
the EXPORT_PER_CPU_SYMBOL() not generating a CRC value.

I have compared the Modules.symvers with and without this
patch and for ia64's defconfig, the only change is:
Before 0x00000000    per_cpu____sn_nodepda   vmlinux
After  0x9d3f3faa    per_cpu____sn_nodepda   vmlinux

per_cpu____sn_nodepda was the original source of my problems.

Signed-off-by: Robin Holt <holt@sgi.com>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
2005-12-26 22:39:55 +01:00
..
basic kbuild: escape '#' in .target.cmd files 2005-12-25 23:21:14 +01:00
genksyms kbuild: Fix genksyms handling of DEFINE_PER_CPU(struct foo_s *, bar); 2005-12-26 22:39:55 +01:00
kconfig kconfig: move lxdialog to scripts/kconfig/lxdialog 2005-12-16 21:35:19 +01:00
ksymoops
mod kbuild: set correct KBUILD_MODNAME when using well known kernel symbols as module names 2005-12-26 00:33:41 +01:00
package
.gitignore Add some basic .gitignore files 2005-10-18 08:26:15 -07:00
bin2c.c
binoffset.c
checkconfig.pl
checkincludes.pl
checkstack.pl
checkversion.pl
conmakehash.c
extract-ikconfig
gcc-version.sh
gen_initramfs_list.sh
kallsyms.c
Kbuild.include kbuild: add objectify 2005-09-10 21:02:11 +02:00
kernel-doc [PATCH] DocBook: allow to mark structure members private 2005-11-13 18:14:21 -08:00
Lindent
Makefile kconfig: move lxdialog to scripts/kconfig/lxdialog 2005-12-16 21:35:19 +01:00
Makefile.build
Makefile.clean
Makefile.host
Makefile.lib kbuild: set correct KBUILD_MODNAME when using well known kernel symbols as module names 2005-12-26 00:33:41 +01:00
Makefile.modinst
Makefile.modpost
makelst
mkcompile_h
mkmakefile
mksysmap
mkuboot.sh
mkversion
namespace.pl
patch-kernel
pnmtologo.c
reference_discarded.pl [PATCH] kbuild: ignore all debugging info sections in scripts/reference_discarded.pl 2005-09-10 15:09:02 +02:00
reference_init.pl
setlocalversion
show_delta
ver_linux [PATCH] Adapt scripts/ver_linux to new util-linux version strings 2005-09-07 16:57:33 -07:00