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

Re: [XenPPC] [Patch] Detect non hypervisor hardware




On Apr 17, 2006, at 12:12 PM, Hollis Blanchard wrote:

I think you're missing my point: I'm talking about initializing opt_nohv
and opt_earlygdb. These are global variables, and so they will land in
the .bss section.

Ahh this is my fault.
*Spec geek voice --ON--*
The explicit zeroing of a "tentative definition with external linkage" didn't come out until C99
*Spec geek voice --OFF--*

This is an old habit of mine that costs _nothing_ since assigning it to zero generates the same assmebler definition.
Is it common Linux practice not to do this?
The Xen guys assign to zero even with static decls :)

-JX



_______________________________________________
Xen-ppc-devel mailing list
Xen-ppc-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ppc-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.