In the original "_>_", the 8-bit mpc_apicid is implicitly converted to int
before the comparison, as part of the "integer promotions" in the "usual
arithmetic conversions" (C standard lingo). The same happens in your "_-_<=0".
So what's the benefit of the rewrite?
> Also, as MAX_APICS-1 is reserved for the broadcast physical APIC ID
> (it's 0xF for serial APIC and 0xFF for xAPIC) the small semantic change
> here is correct.
No argument there, except that ">=" gets the job done in a cleaner way.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/