aboutsummaryrefslogtreecommitdiffstats
path: root/xen/arch/arm/arm32/lib/testsetbit.S
diff options
context:
space:
mode:
Diffstat (limited to 'xen/arch/arm/arm32/lib/testsetbit.S')
-rw-r--r--xen/arch/arm/arm32/lib/testsetbit.S18
1 files changed, 18 insertions, 0 deletions
diff --git a/xen/arch/arm/arm32/lib/testsetbit.S b/xen/arch/arm/arm32/lib/testsetbit.S
new file mode 100644
index 0000000000..1b8d273100
--- /dev/null
+++ b/xen/arch/arm/arm32/lib/testsetbit.S
@@ -0,0 +1,18 @@
+/*
+ * linux/arch/arm/lib/testsetbit.S
+ *
+ * Copyright (C) 1995-1996 Russell King
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+#include <xen/config.h>
+
+#include "assembler.h"
+#include "bitops.h"
+ .text
+
+ENTRY(_test_and_set_bit)
+ testop orreq, streq
+ENDPROC(_test_and_set_bit)