/* * Copyright 2015, Michael Neuling, IBM Corp. * Licensed under GPLv2. * * Edited: Rashmica Gupta, Nov 2015 * * This test does a fork syscall inside a transaction. Basic sniff test * to see if we can enter the kernel during a transaction. */ #include #include #include #include #include #include #include "utils.h" #include "tm.h" int test_fork(void) { SKIP_IF(!have_htm()); asm __volatile__( "tbegin.;" "blt 1f; " "li 0, 2;" /* fork syscall */ "sc ;" "tend.;" "1: ;" : : : "memory", "r0"); /* If we reach here, we've passed. Otherwise we've probably crashed * the kernel */ return 0; } int main(int argc, char *argv[]) { return test_harness(test_fork, "tm_fork"); } index : net-next.git
net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2017-01-26 06:44:03 +1000
committerDave Airlie <airlied@redhat.com>2017-01-26 06:44:03 +1000
commit54a07c7bb0da0343734c78212bbe9f3735394962 (patch)
tree714efff4608ddc0dda7dc85ca82ae98e2c58b52c /sound/soc/xtensa/Makefile
parent932790109f62aa52bdb4bb62aa66653c0b51bc75 (diff)
Revert "drm/probe-helpers: Drop locking from poll_enable"
This reverts commit 3846fd9b86001bea171943cc3bb9222cb6da6b42. There were some precursor commits missing for this around connector locking, we should probably merge Lyude's nouveau avoid the problem patch.
Diffstat (limited to 'sound/soc/xtensa/Makefile')