1 #!/bin/sh 1 #!/bin/sh 2 # SPDX-License-Identifier: GPL-2.0+ 2 # SPDX-License-Identifier: GPL-2.0+ 3 # 3 # 4 # Generate the hardware extension to the litmu 4 # Generate the hardware extension to the litmus-test filename, or the 5 # empty string if this is an LKMM run. The ex 5 # empty string if this is an LKMM run. The extension is placed in 6 # the shell variable hwfnseg. 6 # the shell variable hwfnseg. 7 # 7 # 8 # Usage: 8 # Usage: 9 # . hwfnseg.sh 9 # . hwfnseg.sh 10 # 10 # 11 # Copyright IBM Corporation, 2019 11 # Copyright IBM Corporation, 2019 12 # 12 # 13 # Author: Paul E. McKenney <paulmck@linux.ibm.c 13 # Author: Paul E. McKenney <paulmck@linux.ibm.com> 14 14 15 if test -z "$LKMM_HW_MAP_FILE" 15 if test -z "$LKMM_HW_MAP_FILE" 16 then 16 then 17 hwfnseg= 17 hwfnseg= 18 else 18 else 19 hwfnseg=".$LKMM_HW_MAP_FILE" 19 hwfnseg=".$LKMM_HW_MAP_FILE" 20 fi 20 fi
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.