summaryrefslogtreecommitdiffstats
path: root/kernel/arch/arm/lib/testsetbit.S
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/arch/arm/lib/testsetbit.S')
-rw-r--r--kernel/arch/arm/lib/testsetbit.S15
1 files changed, 15 insertions, 0 deletions
diff --git a/kernel/arch/arm/lib/testsetbit.S b/kernel/arch/arm/lib/testsetbit.S
new file mode 100644
index 000000000..8d1b2fe9e
--- /dev/null
+++ b/kernel/arch/arm/lib/testsetbit.S
@@ -0,0 +1,15 @@
+/*
+ * 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 <linux/linkage.h>
+#include <asm/assembler.h>
+#include "bitops.h"
+ .text
+
+testop _test_and_set_bit, orreq, streq