vfs: check userland buffers before reading them.
[haiku.git] / src / system / libroot / os / arch / arm / thread.c
blobe922970bcab30ee6928601b42c836475da4d39d6
1 /*
2 * Copyright 2012-2014, Haiku, Inc. All Rights Reserved.
3 * Distributed under the terms of the MIT License.
5 * Authors:
6 * Jerome Duval <jerome.duval@free.fr>
7 * Alexander von Gluck IV <kallisti5@unixzen.com>
8 */
11 #include <OS.h>
13 #include <arch_atomic.h>
14 #include "syscalls.h"
17 thread_id
18 find_thread(const char *name)
20 return _kern_find_thread(name);
25 * Fill out gcc __sync_synchronize built-in for ARM
27 void
28 __sync_synchronize(void)
30 dmb();