[haiku-commits] Re: r38109 - haiku/trunk/src/system/kernel/arch/x86

  • From: "Axel Dörfler" <axeld@xxxxxxxxxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Sun, 15 Aug 2010 16:23:40 +0200

Jérôme Duval <korli@xxxxxxxxxxxxxxxx> wrote:
> 2010/8/15  <axeld@xxxxxxxxxxxxxxxx>:
> > +               // Make sure we run on the boot CPU (apparently
> > needed for some ACPI
> > +               // implementations)
> > +               _user_set_cpu_enabled(0, true);
> > +               for (int32 cpu = 1; cpu < smp_get_num_cpus(); cpu++)
> > {
> > +                       _user_set_cpu_enabled(cpu, false);
> > +               }
> Axel, you finally got caught by the style police :=)

I guess you mean the superfluous parenthesis? Well, I just moved
existing code around ;-)
(that I wrote earlier)

Bye,
   Axel.


Other related posts: