[haiku-commits] Re: r37670 - in haiku/trunk: build/jam headers/os/drivers headers/private/graphics/matrox headers/private/graphics/neomagic src/add-ons/accelerants/ati ...

  • From: Jérôme Duval <korli@xxxxxxxxxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Thu, 22 Jul 2010 21:17:38 +0200

2010/7/22 Grzegorz Dąbrowski <grzegorz.dabrowski@xxxxxxxxx>:
>>> +++ haiku/trunk/src/add-ons/kernel/bus_managers/firewire/firewire.c
>>> 2010-07-21 21:43:20 UTC (rev 37670)
>>> @@ -1096,7 +1096,6 @@
>>>  fw_tl2xfer(struct firewire_comm *fc, int node, int tlabel, int tcode)
>>>  {
>>>       struct fw_xfer *xfer;
>>> -     int s = splfw();
>>>       int req;
>>
>> I looked it up specifically, and splfw() doesn't have any function
>> anymore.
>
> I wonder, if splx(s) should be called instead of remove splfw.
>

Please note this code is ported from FreeBSD, so this fix can render
the synchronisation work more difficult in my opinion.

Bye,
Jérôme

Other related posts: