On Saturday 03 February 2007 10:49, Frédéric Riss wrote: > Was what I did in the initial patch: > http://lkml.org/lkml/2007/1/30/258 > > The issue is that the structure definition is used on multiple > architectures (for now ia64 and i386) which might used different calling > conventions. As Bjorn Helgaas pointed out, ia64 already has such wrapper > functions. I agree that the casting isn't the nicest thing, but I prefer > that to writing asm stubs.
Define a efilinkage macro then that expands to nothing on ia64 Probably asmlinkage would work already, syscall_linkage as used on ia64 doesn't seem to affect function pointers. -Andi - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/