[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [patch] 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


-- 
Scott Parish
Signed-off-by: srparish@xxxxxxxxxx

Attachment: include-assert.h
Description: Text document

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.