On Wed, Jul 18, 2007 at 14:04:09 -0400, Camm Maguire wrote: > Greetings! It appears that the asm/system.h header has been removed: > > http://buildd.debian.org/fetch.cgi?pkg=gclcvs;ver=2.7.0-78;arch=alpha;stamp=1184774486 > > GCL needs this for the imb() assembler routine: > > #define SGC > #include <asm/system.h> > #define CLEAR_CACHE imb() > > > 1) Is the header coming back? > > 2) If not, what is the approved replacement? > I don't know what the Right Thing™ is, but xorg-server has this: /* to flush the I-cache before jumping to code which just got loaded */ # define PAL_imb 134 # define istream_mem_barrier() \ __asm__ __volatile__("call_pal %0 #imb" : : "i" (PAL_imb) : "memory") (hw/xfree86/common/compiler.h) IOW it duplicates the kernel's definition of imb(), and uses it in doLoadModule() and UnloadModuleOrDriver(). Cheers, Julien
Attachment:
signature.asc
Description: Digital signature