xref: /linux/Documentation/features/list-arch.sh (revision cdd38c5f1ce4398ec58fec95904b75824daab7b5)
1*ca908577SMauro Carvalho Chehab# SPDX-License-Identifier: GPL-2.0
2669f6f96SIngo Molnar#
3669f6f96SIngo Molnar# Small script that visualizes the kernel feature support status
4669f6f96SIngo Molnar# of an architecture.
5669f6f96SIngo Molnar#
6669f6f96SIngo Molnar# (If no arguments are given then it will print the host architecture's status.)
7669f6f96SIngo Molnar#
8669f6f96SIngo Molnar
9df8a0ddeSdcgARCH=${1:-$(uname -m | sed 's/x86_64/x86/' | sed 's/i386/x86/')}
10669f6f96SIngo Molnar
11*ca908577SMauro Carvalho Chehab$(dirname $0)/../../scripts/get_feat.pl list --arch $ARCH
12