1. 29 5月, 2012 1 次提交
    • M
      edac: rewrite edac_align_ptr() · 93e4fe64
      Mauro Carvalho Chehab 提交于
      The edac_align_ptr() function is used to prepare data for a single
      memory allocation kzalloc() call. It counts how many bytes are needed
      by some data structure.
      
      Using it as-is is not that trivial, as the quantity of memory elements
      reserved is not there, but, instead, it is on a next call.
      
      In order to avoid mistakes when using it, move the number of allocated
      elements into it, making easier to use it.
      Reviewed-by: NBorislav Petkov <bp@amd64.org>
      Cc: Aristeu Rozanski <arozansk@redhat.com>
      Cc: Doug Thompson <norsk5@yahoo.com>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      93e4fe64
  2. 15 12月, 2011 1 次提交
  3. 27 5月, 2011 1 次提交
  4. 24 9月, 2009 1 次提交
  5. 14 4月, 2009 1 次提交
  6. 03 4月, 2009 1 次提交
  7. 07 1月, 2009 1 次提交
  8. 06 5月, 2008 1 次提交
  9. 29 4月, 2008 2 次提交
  10. 08 2月, 2008 1 次提交
  11. 03 2月, 2008 1 次提交
  12. 27 7月, 2007 1 次提交
    • D
      drivers/edac: fix edac_pci sysfs · d4c1465b
      Doug Thompson 提交于
      This patch fixes sysfs exit code for the EDAC PCI device in a similiar manner
      and the previous fixes for EDAC_MC and EDAC_DEVICE.
      
      It removes the old (and incorrect) completion model and uses reference counts
      on per instance kobjects and on the edac core module.
      
      This pattern was applied to the edac_mc and edac_device code, but the EDAC PCI
      code was missed.  In addition, this fixes a system hang after a low level
      driver was unloaded.  (A cleanup function was called twice, which really
      screwed things up)
      
      Cc: Greg KH <greg@kroah.com>
      Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
      Signed-off-by: NDoug Thompson <dougthompson@xmission.com>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      d4c1465b
  13. 20 7月, 2007 7 次提交