ASSERT needs declaration
PATCH 1/1 ASSERT needs declaration
this patch fixes the following problem:
x86_64-unknown-linux-gnu-gcc -nostdinc -fno-builtin -fno-common -fno-strict-aliasing -iwithprefix include -Wall -Werror -Wno-pointer-arith -pipe -I/home/srp/darcs/xen-64-4/xen/include -I/home/srp/darcs/xen-64-4/xen/include/asm-x86/mach-generic -I/home/srp/darcs/xen-64-4/xen/include/asm-x86/mach-default -O3 -fomit-frame-pointer -msoft-float -m64 -mno-red-zone -fpic -fno-reorder-blocks -fno-asynchronous-unwind-tables -g -DVERBOSE -c x86_64/usercopy.c -o x86_64/usercopy.o In file included from /home/srp/darcs/xen-64-4/xen/include/asm/x86_64/uaccess.h:11,
from /home/srp/darcs/xen-64-4/xen/include/asm/uaccess.h:6,
from x86_64/usercopy.c:10:/home/srp/darcs/xen-64-4/xen/include/asm/page.h: In function `l1e_from_paddr':/home/srp/darcs/xen-64-4/xen/include/asm/page.h:81: warning: implicit declaration of function `ASSERT' make[1]: *** [x86_64/usercopy.o] Error 1
make[1]: Leaving directory `/home/srp/darcs/xen-64-4/xen/arch/x86'
make: *** [/home/srp/darcs/xen-64-4/xen/xen] Error 2
Signature · 2 lines
Scott Parish Signed-off-by: [email protected]
xen/include/asm-x86/page.h +1 -0
@@ -12,6 +12,7 @@#ifndef __ASSEMBLY__# include <asm/types.h> +# include <xen/lib.h> #endif #if defined(__i386__)
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel