Re: [PATCH -v1.1] x86, boot: Further compress CPUs bootup message
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- Subject: Re: [PATCH -v1.1] x86, boot: Further compress CPUs bootup message
- From: Borislav Petkov <bp@xxxxxxxxx>
- Date: Sat, 28 Sep 2013 22:08:38 +0200
- Cc: "H. Peter Anvin" <hpa@xxxxxxxxx>, linux-kernel@xxxxxxxxxxxxxxx, huawei.libin@xxxxxxxxxx, wangyijing@xxxxxxxxxx, fenghua.yu@xxxxxxxxx, tglx@xxxxxxxxxxxxx, guohanjun@xxxxxxxxxx, paul.gortmaker@xxxxxxxxxxxxx, linux-tip-commits@xxxxxxxxxxxxxxx
- In-reply-to: <20130928195833.GB32081@gmail.com>
- User-agent: Mutt/1.5.21 (2010-09-15)
On Sat, Sep 28, 2013 at 09:58:33PM +0200, Ingo Molnar wrote:
>
> * Borislav Petkov <bp@xxxxxxxxx> wrote:
>
> > On Sat, Sep 28, 2013 at 09:49:27PM +0200, Borislav Petkov wrote:
> > > And yes, that one works too.
> >
> > Btw, just to be thorough, we could handle negative numbers too:
> >
> > int num_digits(int val)
> > {
> > int m = 10;
> > int d = 1;
> >
> > if (val < 0)
> > val = -val;
> >
> > while (val >= m) {
> > m *= 10;
> > d++;
> > }
> >
> > return d;
> > }
>
> I like the cell phone version better!
This *is* the cell phone version + negative numbers handling.
--
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
- References:
- [PATCH] x86, boot: Further compress CPUs bootup message
- Re: [PATCH] x86, boot: Further compress CPUs bootup message
- [PATCH -v1.1] x86, boot: Further compress CPUs bootup message
- Re: [PATCH -v1.1] x86, boot: Further compress CPUs bootup message
- Re: [PATCH -v1.1] x86, boot: Further compress CPUs bootup message
- Re: [PATCH -v1.1] x86, boot: Further compress CPUs bootup message
- Re: [PATCH -v1.1] x86, boot: Further compress CPUs bootup message
- Re: [PATCH -v1.1] x86, boot: Further compress CPUs bootup message
- Re: [PATCH -v1.1] x86, boot: Further compress CPUs bootup message
- Re: [PATCH -v1.1] x86, boot: Further compress CPUs bootup message
[Index of Archives]
[Linux Stable Commits]
[Linux Stable Kernel]
[Linux Kernel]
[Linux USB Devel]
[Linux Video &Media]
[Linux Audio Users]
[Yosemite News]
[Linux SCSI]