• Paul E. McKenney's avatar
    tools/memory-model: Make judgelitmus.sh identify bad macros · 02484d82
    Paul E. McKenney authored
    Currently, judgelitmus.sh treats use of unknown primitives (such as
    srcu_read_lock() prior to SRCU support) as "!!! Verification error".
    This can be misleading because it fails to call out typos and running
    a version LKMM on a litmus test requiring a feature not provided by
    that version.  This commit therefore changes judgelitmus.sh to check
    for unknown primitives and to report them, for example, with:
    
    	'!!! Current LKMM version does not know "rcu_write_lock"'.
    Signed-off-by: default avatarPaul E. McKenney <paulmck@kernel.org>
    02484d82
cmplitmushist.sh 3.24 KB