On Thu, Oct 23, 2003 at 11:43:27AM +0200, Geert Uytterhoeven wrote: > > If I change the line 43 from: > > #define PTE_PAGE_SIZE (1L << PTE_PAGE_SHIFT) > > to > > #define PTE_PAGE_SIZE (1 << PTE_PAGE_SHIFT) > > the compiling is o.k. The fix for this went into CVS yesterday. > That's a programming error. The assembler doesn't know 1L, it needs plain 1. > > Yes, it makes life hard, if you want to share your definitions between the > C compiler and the assembler. It's a PITA that gas doesn't accept constants in the same syntax as C does. It means we have to extract many constants into offset.h before they can be used in assembler code. One of the small things on my wishlist for x-mas ;-) Ralf