From: "Scott Parish" Subject: [patch] ASSERT needs declaration Date: Thu, 2 Jun 2005 18:17:28 +0000 Message-ID: <20050602181728.GJ9951@us.ibm.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="GLp9dJVi+aaipsRk" Return-path: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org --GLp9dJVi+aaipsRk Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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@us.ibm.com --GLp9dJVi+aaipsRk Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="include-assert.h" diff -rN -u -p old-xen-64-4/xen/include/asm-x86/page.h new-xen-64-4/xen/include/asm-x86/page.h --- old-xen-64-4/xen/include/asm-x86/page.h 2005-06-02 18:10:30.000000000 +0000 +++ new-xen-64-4/xen/include/asm-x86/page.h 2005-06-02 18:13:36.000000000 +0000 @@ -12,6 +12,7 @@ #ifndef __ASSEMBLY__ # include +# include #endif #if defined(__i386__) --GLp9dJVi+aaipsRk Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --GLp9dJVi+aaipsRk--