xref: /kernel/linux/linux-6.6/tools/memory-model/scripts/hwfnseg.sh
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /kernel/linux/linux-6.6/tools/memory-model/scripts/
162306a36Sopenharmony_ci#!/bin/sh
262306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0+
362306a36Sopenharmony_ci#
462306a36Sopenharmony_ci# Generate the hardware extension to the litmus-test filename, or the
562306a36Sopenharmony_ci# empty string if this is an LKMM run.  The extension is placed in
662306a36Sopenharmony_ci# the shell variable hwfnseg.
762306a36Sopenharmony_ci#
862306a36Sopenharmony_ci# Usage:
962306a36Sopenharmony_ci#	. hwfnseg.sh
1062306a36Sopenharmony_ci#
1162306a36Sopenharmony_ci# Copyright IBM Corporation, 2019
1262306a36Sopenharmony_ci#
1362306a36Sopenharmony_ci# Author: Paul E. McKenney <paulmck@linux.ibm.com>
1462306a36Sopenharmony_ci
1562306a36Sopenharmony_ciif test -z "$LKMM_HW_MAP_FILE"
1662306a36Sopenharmony_cithen
1762306a36Sopenharmony_ci	hwfnseg=
1862306a36Sopenharmony_cielse
1962306a36Sopenharmony_ci	hwfnseg=".$LKMM_HW_MAP_FILE"
2062306a36Sopenharmony_cifi
21

Indexes created Thu Nov 07 10:32:03 CST 2024