Merge tag 'trace-printf-v6.13' of git://git.kernel.org/pub/scm/linux/kernel/git/trace...
[drm/drm-misc.git] / tools / memory-model / scripts / hwfnseg.sh
blob580c3281181c5481e05090cb15dd9389c3337c70
1 #!/bin/sh
2 # SPDX-License-Identifier: GPL-2.0+
4 # Generate the hardware extension to the litmus-test filename, or the
5 # empty string if this is an LKMM run. The extension is placed in
6 # the shell variable hwfnseg.
8 # Usage:
9 # . hwfnseg.sh
11 # Copyright IBM Corporation, 2019
13 # Author: Paul E. McKenney <paulmck@linux.ibm.com>
15 if test -z "$LKMM_HW_MAP_FILE"
16 then
17 hwfnseg=
18 else
19 hwfnseg=".$LKMM_HW_MAP_FILE"