mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-10-31 06:14:39 +01:00
Mark all these scripts executable. Cc: Mark Rutland <[email protected]> Cc: Peter Zijlstra (Intel) <[email protected]> Cc: Will Deacon <[email protected]> Cc: [email protected] Cc: Catalin Marinas <[email protected]> Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Signed-off-by: Ingo Molnar <[email protected]>
17 lines
390 B
Plaintext
Executable File
17 lines
390 B
Plaintext
Executable File
cat <<EOF
|
|
/**
|
|
* ${atomic}_sub_and_test - subtract value from variable and test result
|
|
* @i: integer value to subtract
|
|
* @v: pointer of type ${atomic}_t
|
|
*
|
|
* Atomically subtracts @i from @v and returns
|
|
* true if the result is zero, or false for all
|
|
* other cases.
|
|
*/
|
|
static inline bool
|
|
${atomic}_sub_and_test(${int} i, ${atomic}_t *v)
|
|
{
|
|
return ${atomic}_sub_return(i, v) == 0;
|
|
}
|
|
EOF
|