X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=urcu-asm.c;fp=urcu-asm.c;h=0000000000000000000000000000000000000000;hb=833dbdb633ba44bfb71b4b965a83096d8e4e827b;hp=0e833f40d14badd853d7aaacd6d66b0f0f1a0b8f;hpb=538d7df5086144837beb7a9c1e2a94eb637b9904;p=urcu.git diff --git a/urcu-asm.c b/urcu-asm.c deleted file mode 100644 index 0e833f4..0000000 --- a/urcu-asm.c +++ /dev/null @@ -1,37 +0,0 @@ -/* - * urcu-asm.c - * - * Userspace RCU library - assembly dump of primitives - * - * Copyright February 2009 - Mathieu Desnoyers - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License along - * with this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - */ - -#include "urcu.h" - -void show_read_lock(void) -{ - asm volatile ("/* start */"); - rcu_read_lock(); - asm volatile ("/* end */"); -} - -void show_read_unlock(void) -{ - asm volatile ("/* start */"); - rcu_read_unlock(); - asm volatile ("/* end */"); -}