]> git.karo-electronics.de Git - linux-beck.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)
commit7122c3e9154b5d9a7422f68f02d8acf050fad2b0
tree4c95d343cd303556cdb6617192da835a93462a1e
parent3459f11a8b16f40f9cde8e4281c2d5dd2ff1a732
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: f6537f2f0eba4eba3354e48dbe3047db6d8b6254
Singed-off-by: Ming Lei <tom.leiming@gmail.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
scripts/link-vmlinux.sh