android_kernel_xiaomi_sm8350/scripts
Vivek Goyal f8657e1b55 [PATCH] i386: move startup_32() in text.head section
o Entry startup_32 was in .text section but it was accessing some init
  data too and it prompts MODPOST to generate compilation warnings.

WARNING: vmlinux - Section mismatch: reference to .init.data:boot_params from
.text between '_text' (at offset 0xc0100029) and 'startup_32_smp'
WARNING: vmlinux - Section mismatch: reference to .init.data:boot_params from
.text between '_text' (at offset 0xc0100037) and 'startup_32_smp'
WARNING: vmlinux - Section mismatch: reference to
.init.data:init_pg_tables_end from .text between '_text' (at offset
0xc0100099) and 'startup_32_smp'

o Can't move startup_32 to .init.text as this entry point has to be at the
  start of bzImage. Hence moved startup_32 to a new section .text.head and
  instructed MODPOST to not to generate warnings if init data is being
  accessed from .text.head section. This code has been audited.

o SMP boot up code (startup_32_smp) can go into .init.text if CPU hotplug
  is not supported. Otherwise it generates more warnings

WARNING: vmlinux - Section mismatch: reference to .init.data:new_cpu_data from
.text between 'checkCPUtype' (at offset 0xc0100126) and 'is486'
WARNING: vmlinux - Section mismatch: reference to .init.data:new_cpu_data from
.text between 'checkCPUtype' (at offset 0xc0100130) and 'is486'

Signed-off-by: Vivek Goyal <vgoyal@in.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Andi Kleen <ak@suse.de>
2007-02-13 13:26:22 +01:00
..
basic [PATCH] update some docbook comments 2006-11-03 12:27:56 -08:00
genksyms
kconfig [PATCH] qconf: (re)fix SIGSEGV on empty menu items 2007-01-11 18:18:20 -08:00
ksymoops
mod [PATCH] i386: move startup_32() in text.head section 2007-02-13 13:26:22 +01:00
package
rt-tester
.gitignore [PATCH] Add unifdef to gitignore 2006-10-02 19:46:55 -07:00
bin2c.c
binoffset.c
bloat-o-meter
checkincludes.pl
checkstack.pl
checkversion.pl
conmakehash.c
export_report.pl
extract-ikconfig
gcc-version.sh
gcc-x86_64-has-stack-protector.sh
gen_initramfs_list.sh [PATCH] kbuild scripts: replace gawk, head, bc with shell, update 2007-02-06 14:30:49 -08:00
hdrcheck.sh
kallsyms.c [PATCH] move kallsyms data to .rodata 2006-12-08 08:28:37 -08:00
Kbuild.include [PATCH] kbuild: more Makefile cleanups 2007-02-09 10:12:20 -08:00
kernel-doc [PATCH] fix fatal kernel-doc error 2007-02-11 11:48:20 -08:00
Lindent
Makefile [PATCH] allow /proc/config.gz to be built as a module 2006-10-01 00:39:20 -07:00
Makefile.build
Makefile.clean
Makefile.headersinst [PATCH] translate dashes in filenames for headers install 2007-01-30 16:01:35 -08:00
Makefile.host
Makefile.lib
Makefile.modinst
Makefile.modpost [PATCH] kbuild: allow multi-word $M in Makefile.modpost 2006-10-17 08:18:48 -07:00
makelst [PATCH] kbuild scripts: replace gawk, head, bc with shell, update 2007-02-06 14:30:49 -08:00
mkcompile_h
mkmakefile
mksysmap
mkuboot.sh
mkversion
namespace.pl
patch-kernel
pnmtologo.c
profile2linkerlist.pl
setlocalversion
show_delta
unifdef.c
ver_linux [PATCH] ver_linux additions 2006-12-07 08:39:38 -08:00