kernel/arm: use generic/user_memory.h
Change-Id: I890bdd7d6f64162416a1a80c7d8280618aaa8fb8 Reviewed-on: https://review.haiku-os.org/c/haiku/+/5429 Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org> Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
This commit is contained in:
parent
1b95b1e857
commit
2e0a9b9554
@ -11,13 +11,7 @@
|
||||
#include <thread.h>
|
||||
|
||||
|
||||
#ifdef __x86_64__
|
||||
# include <arch/generic/user_memory.h>
|
||||
#elif defined(__M68K__)
|
||||
# include <arch/generic/user_memory.h>
|
||||
#elif defined(__riscv)
|
||||
# include <arch/generic/user_memory.h>
|
||||
#else
|
||||
#ifdef __i386__
|
||||
|
||||
extern "C" {
|
||||
|
||||
@ -55,6 +49,8 @@ arch_cpu_user_memset(void* s, char c, size_t count)
|
||||
}
|
||||
|
||||
|
||||
#else
|
||||
# include <arch/generic/user_memory.h>
|
||||
#endif
|
||||
|
||||
#endif // _KERNEL_ARCH_USER_MEMORY_H
|
||||
|
Loading…
Reference in New Issue
Block a user