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

[Xen-devel] unmodified drivers question



In platform-compat.h I find

#if defined(_LINUX_SYSRQ_H) && LINUX_VERSION_CODE > KERNEL_VERSION(2,6,18)
#define handle_sysrq(x,y,z) handle_sysrq(x,y)
#endif

which apparently assumes that non-ported Linux code (in this case
drivers/xen/core/reboot.c) is being compiled for newer kernel versions. If
that is the intended model (which I doubt is a generally workable one), a
second more natural model would need to be implemented by some means
so that building the drivers from an already forward ported tree is possible
(in the given case I'm talking about mentioned file already having the
handle_sysrq() converted to the two argument form).

Thanks for clarification,
Jan


_______________________________________________
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®.