mm: frontswap: make all branches of if statement in put page consistent
[platform/adaptation/renesas_rcar/renesas_kernel.git] / scripts / link-vmlinux.sh
index 1f4c27b..cd9c6c6 100644 (file)
@@ -93,6 +93,11 @@ mksysmap()
        ${CONFIG_SHELL} "${srctree}/scripts/mksysmap" ${1} ${2}
 }
 
+sortextable()
+{
+       ${objtree}/scripts/sortextable ${1}
+}
+
 # Delete output files in case of error
 trap cleanup SIGHUP SIGINT SIGQUIT SIGTERM ERR
 cleanup()
@@ -192,6 +197,11 @@ fi
 info LD vmlinux
 vmlinux_link "${kallsymso}" vmlinux
 
+if [ -n "${CONFIG_BUILDTIME_EXTABLE_SORT}" ]; then
+       info SORTEX vmlinux
+       sortextable vmlinux
+fi
+
 info SYSMAP System.map
 mksysmap vmlinux System.map