Skip to content
projects
/
linux
·
blob
master ·
refs
linux
tools
docs
list-arch.sh
…
History
History
·
Raw
Raw
·
Diff
Diff
·
Blob
Blob
11 lines · 342 B
1
#
SPDX-License-Identifier: GPL-2.0
2
#
3
#
Small script that visualizes the kernel feature support status
4
#
of an architecture.
5
#
6
#
(If no arguments are given then it will print the host architecture's status.)
7
#
8
9
ARCH
=
$
{
1
:-
$
(
uname
-
m
|
sed
'
s/x86_64/x86/
'
|
sed
'
s/i386/x86/
'
|
sed
'
s/s390x/s390/
'
)
}
10
11
$
(
dirname
$
0
)
/get_feat.pl
list
--
arch
$
ARCH