diff options
author | Konstantin Khlebnikov <koct9i@gmail.com> | 2014-07-31 09:29:21 +1000 |
---|---|---|
committer | Stephen Rothwell <sfr@canb.auug.org.au> | 2014-07-31 09:29:21 +1000 |
commit | 6647532d2efd8e6d4d7b53ed3b30c75f9397ddde (patch) | |
tree | 5098f016e2986ed722297d86449879aaf39afe10 /include/uapi/linux/fcntl.h | |
parent | 8ec61fe356efb59bd35bc6459e11d0886d8000c8 (diff) |
scripts/checkstack.pl: automatically handle 32-bit and 64-bit mode for ARCH=x86
This patch adds support for ARCH=x86 into checkstack.
commit ffee0de411fd4f7 ("x86: Default to ARCH=x86 to avoid overriding
CONFIG_64BIT") had merged ARCH=i386 and ARCH=x86_64 into one ARCH=x86.
checkstack.pl searches patterns of machine instructions which are usually
used for allocating stack frames. checkstalk.pl needs either i386 or
x86_64, x86 isn't enough:
$ make checkstack
objdump -d vmlinux $(find . -name '*.ko') | \
perl linux/scripts/checkstack.pl x86
wrong or unknown architecture "x86"
Signed-off-by: Konstantin Khlebnikov <koct9i@gmail.com>
Cc: David Woodhouse <dwmw2@infradead.org>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: Richard Weinberger <richard@nod.at>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'include/uapi/linux/fcntl.h')
0 files changed, 0 insertions, 0 deletions