#!/bin/sh # SPDX-License-Identifier: GPL-2.0 # # Check if atomic headers are up-to-date ATOMICDIR=$(dirname $0) ATOMICTBL=${ATOMICDIR}/atomics.tbl LINUXDIR=${ATOMICDIR}/../.. echo '' | sha1sum - > /dev/null 2>&1 if [ $? -ne 0 ]; then printf "sha1sum not available, skipping atomic header checks.\n" exit 0 fi cat <