]> git.baikalelectronics.ru Git - kernel.git/commit
scripts/link-vmlinux.sh: only filter kernel symbols for arm
authorMing Lei <tom.leiming@gmail.com>
Tue, 10 Dec 2013 06:16:29 +0000 (16:46 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Tue, 10 Dec 2013 06:19:19 +0000 (16:49 +1030)
commita88533693b5543763848034fc0dbcac8432f89a4
tree4c95d343cd303556cdb6617192da835a93462a1e
parent1f977b7db1e30e4d87d08943e54c3406ff2e3ffe
scripts/link-vmlinux.sh: only filter kernel symbols for arm

Actually CONFIG_PAGE_OFFSET isn't same with PAGE_OFFSET, so
it isn't easy to figue out PAGE_OFFSET defined in header
file from scripts.

Because CONFIG_PAGE_OFFSET may not be defined in some ARCHs(
64bit ARCH), or defined as bogus value in !MMU case, so
this patch only applys the filter on ARM when CONFIG_PAGE_OFFSET
is defined as the original problem is only on ARM.

Cc: <stable@vger.kernel.org>
Cc: Rusty Russell <rusty@rustcorp.com.au>
Fixes: 7aaede29bb740e5ea744d58c9f31d6624fbc40ee
Singed-off-by: Ming Lei <tom.leiming@gmail.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
scripts/link-vmlinux.sh