[LinuxPPS] pps: fix race during PPS source registration.

gitweb.enneenne.com Git - linuxpps/rss log: Rodolfo Giometti <> webmaster at enneenne.com
Thu Oct 1 16:15:51 CEST 2009


pps: fix race during PPS source registration.
    
    Internal PPS data should be initialized before calling idr_get_new()
    to register the new source into the system, this avoids reces during
    pps_event() execution.
    
    Signed-off-by: Rodolfo Giometti <giometti at linux.it>
    

  * [[D][1][H][2]] drivers/pps/kapi.c

   [1]: http://gitweb.enneenne.com/?p=linuxpps;a=blobdiff;f=drivers/pps/kapi.c;fp=drivers/pps/kapi.c;h=e0b75ed4cc808df51ac6252ae84055f90b67e32a;hp=917b379f92f0b007bbf50921de90a6e751f55474;hb=ea479c52287542f81ed61a6f449e76d4d527a72d;hpb=ce572cbb654a48c9cec3fb2c1cbacd1abfb45394 (diff)
   [2]: http://gitweb.enneenne.com/?p=linuxpps;a=history;f=drivers/pps/kapi.c;h=ea479c52287542f81ed61a6f449e76d4d527a72d (history)

URL: http://gitweb.enneenne.com/?p=linuxpps;a=commitdiff;h=ea479c52287542f81ed61a6f449e76d4d527a72d



More information about the LinuxPPS mailing list