x86: Don't use POSIX character classes in gen-insn-attr-x86.awk
authorRoland Dreier <rdreier@cisco.com>
Thu, 17 Dec 2009 01:39:48 +0000 (17:39 -0800)
committerH. Peter Anvin <hpa@zytor.com>
Thu, 17 Dec 2009 15:03:21 +0000 (07:03 -0800)
commit4beb3d6d144c41525541cce2b611858b2645c725
tree35695ec54ba939ae996fa28eb0bf1377c8c64da0
parentc051346b7db27aaf674b8f3b4955240580b2a58a
x86: Don't use POSIX character classes in gen-insn-attr-x86.awk

Not all awk implementations (including the default awk in Ubuntu 9.10)
support POSIX character classes.  Since x86-opcode-map.txt is plain
ASCII, we can just use explicit ranges for lower case, alphabetic, and
alphanumeric characters instead.

Signed-off-by: Roland Dreier <rolandd@cisco.com>
Acked-by: Masami Hiramatsu <mhiramat@redhat.com>
LKML-Reference: <adabphy750b.fsf@roland-alpha.cisco.com>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
arch/x86/tools/gen-insn-attr-x86.awk