/* * 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"); } cgi/'>index : net-next.git
net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKalle Valo <kvalo@codeaurora.org>2017-01-27 14:19:25 +0200
committerKalle Valo <kvalo@codeaurora.org>2017-01-28 09:15:50 +0200
commit2b1d530cb3157f828fcaadd259613f59db3c6d1c (patch)
treefb5dfe8f2e6956f54377c7275f330cd158ead259 /sound/soc/intel/atom/Makefile
parentbd19b5ab1da654de456e102250822ec06311d6ad (diff)
MAINTAINERS: ath9k-devel is closed
ath9k-devel list is now closed, only linux-wireless should be used. Reported-by: Michael Renzmann <mrenzmann@madwifi-project.org> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'sound/soc/intel/atom/Makefile')