OSDN Git Service

x86/entry/32: Clean up syscall_32.tbl
authorBrian Gerst <brgerst@gmail.com>
Fri, 13 Mar 2020 19:51:39 +0000 (15:51 -0400)
committerThomas Gleixner <tglx@linutronix.de>
Sat, 21 Mar 2020 15:03:23 +0000 (16:03 +0100)
commita845a6cf1dad16fa86007c86702fb27fec89d38b
treeb4df83116cfe35c805d14f6441abfd9ff937998e
parentcab56d3484d4bb8b21e4d9500392ac1ce99af026
x86/entry/32: Clean up syscall_32.tbl

After removal of the __ia32_ prefix, remove compat entries that are now
identical to the native entry.

Converted with this script and fixing up whitespace:

while read nr abi name entry compat; do
    if [ "${nr:0:1}" = "#" ]; then
        echo $nr $abi $name $entry $compat
        continue
    fi
    if [ "$entry" = "$compat" ]; then
        compat=""
    fi
    echo "$nr $abi $name $entry $compat"
done

Signed-off-by: Brian Gerst <brgerst@gmail.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lkml.kernel.org/r/20200313195144.164260-14-brgerst@gmail.com
arch/x86/entry/syscalls/syscall_32.tbl