PackageKit: use the correct kernel headers.
The debug build of the packagefs kernel addon failed because user_memcpy had no type. Using the correct headers for user_memcpy and IS_USER_ADDRESS fixed the issue.
This commit is contained in:
parent
ae5821e892
commit
b1f1332ebb
@ -11,7 +11,10 @@
|
||||
#include <string.h>
|
||||
|
||||
#if defined(_KERNEL_MODE) && !defined(_BOOT_MODE)
|
||||
#include <arch/user_memory.h>
|
||||
// for user_memcpy() and IS_USER_ADDRESS()
|
||||
#include <KernelExport.h>
|
||||
|
||||
#include <kernel.h>
|
||||
#endif
|
||||
|
||||
|
||||
|
@ -16,7 +16,10 @@
|
||||
#include <Errors.h>
|
||||
|
||||
#if defined(_KERNEL_MODE) && !defined(_BOOT_MODE)
|
||||
#include <arch/user_memory.h>
|
||||
// for user_memcpy() and IS_USER_ADDRESS()
|
||||
#include <KernelExport.h>
|
||||
|
||||
#include <kernel.h>
|
||||
#endif
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user