Re: [PATCH -v1.1] x86, boot: Further compress CPUs bootup message

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

 



On Sat, Sep 28, 2013 at 12:42:37PM -0700, H. Peter Anvin wrote:
> How about:
> 
> m = 10;
> d = 1;
> 
> while ( val >= m ) {
>         m *= 10;
>         d++;
> }
> 
> ... and not have a *divide* in there?

Yep, I know why :-)

And yes, that one works too.

> Man, entering code on a cell phone sucks...

Haha, that's why your variables are single letters :-)

-- 
Regards/Gruss,
    Boris.

Sent from a fat crate under my desk. Formatting is fine.
--
--
To unsubscribe from this list: send the line "unsubscribe linux-tip-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Stable Commits]     [Linux Stable Kernel]     [Linux Kernel]     [Linux USB Devel]     [Linux Video &Media]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux