1. 27 7月, 2008 1 次提交
  2. 22 7月, 2008 3 次提交
    • A
      sysdev: Add utility functions for simple int/ulong variable sysdev attributes · 9800794a
      Andi Kleen 提交于
      This adds a new sysdev_ext_attribute that stores a pointer to the variable
      it manages and some utility functions/macro to easily use them.
      
      Previously all users wrote custom macros to generate show/store
      functions for each variable, with this it is possible to avoid
      that in many cases.
      Signed-off-by: NAndi Kleen <ak@linux.intel.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      9800794a
    • A
      sysdev: Pass the attribute to the low level sysdev show/store function · 4a0b2b4d
      Andi Kleen 提交于
      This allow to dynamically generate attributes and share show/store
      functions between attributes. Right now most attributes are generated
      by special macros and lots of duplicated code. With the attribute
      passed it's instead possible to attach some data to the attribute
      and then use that in shared low level functions to do different things.
      
      I need this for the dynamically generated bank attributes in the x86
      machine check code, but it'll allow some further cleanups.
      
      I converted all users in tree to the new show/store prototype. It's a single
      huge patch to avoid unbisectable sections.
      
      Runtime tested: x86-32, x86-64
      Compiled only: ia64, powerpc
      Not compile tested/only grep converted: sh, arm, avr32
      Signed-off-by: NAndi Kleen <ak@linux.intel.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      4a0b2b4d
    • B
      sysdev: fix debugging statements in registration code. · 838ea8e8
      Ben Dooks 提交于
      The systdev_class_register() and sysdev_register() functions have
      pr_debug() statements which are enabled when the user selects the
      driver core debug. Both of these routines do not produce the
      correct output, as they make assumptions about data which has not
      been initialised.
      
      In sysdev_class_register() the code uses the kobject_name(&cls->kset.kobj)
      at the start of the function, but this is not setup until later in the
      same call. Change this to use cls->name which is passed in from the caller.
      
      The sysdev_register() function tries to get the name of the sysdev by
      kobject_name(&sysdev->kobj), but that isn't setup until later in the same
      function so change this message to use the name of the sysdev's class and
      add another message once the name is initialised.
      Signed-off-by: NBen Dooks <ben-linux@fluff.org>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      838ea8e8
  3. 07 5月, 2008 1 次提交
  4. 20 4月, 2008 2 次提交
  5. 11 3月, 2008 1 次提交
  6. 25 1月, 2008 6 次提交
  7. 13 10月, 2007 2 次提交
  8. 12 7月, 2007 1 次提交
  9. 03 5月, 2007 1 次提交
  10. 01 7月, 2006 1 次提交
  11. 22 6月, 2006 1 次提交
  12. 07 2月, 2006 1 次提交
  13. 31 10月, 2005 1 次提交
    • T
      [PATCH] fix missing includes · 4e57b681
      Tim Schmielau 提交于
      I recently picked up my older work to remove unnecessary #includes of
      sched.h, starting from a patch by Dave Jones to not include sched.h
      from module.h. This reduces the number of indirect includes of sched.h
      by ~300. Another ~400 pointless direct includes can be removed after
      this disentangling (patch to follow later).
      However, quite a few indirect includes need to be fixed up for this.
      
      In order to feed the patches through -mm with as little disturbance as
      possible, I've split out the fixes I accumulated up to now (complete for
      i386 and x86_64, more archs to follow later) and post them before the real
      patch.  This way this large part of the patch is kept simple with only
      adding #includes, and all hunks are independent of each other.  So if any
      hunk rejects or gets in the way of other patches, just drop it.  My scripts
      will pick it up again in the next round.
      Signed-off-by: NTim Schmielau <tim@physik3.uni-rostock.de>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      4e57b681
  14. 06 9月, 2005 1 次提交
  15. 12 7月, 2005 1 次提交
  16. 21 6月, 2005 1 次提交
  17. 17 4月, 2005 2 次提交
    • P
      [PATCH] pm_message_t: more fixes in common and i386 · 438510f6
      Pavel Machek 提交于
      I thought I'm done with fixing u32 vs.  pm_message_t ...  unfortunately
      that turned out not to be the case as Russel King pointed out.  Here are
      fixes for Documentation and common code (mainly system devices).
      Signed-off-by: NPavel Machek <pavel@suse.cz>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      438510f6
    • L
      Linux-2.6.12-rc2 · 1da177e4
      Linus Torvalds 提交于
      Initial git repository build. I'm not bothering with the full history,
      even though we have it. We can create a separate "historical" git
      archive of that later if we want to, and in the meantime it's about
      3.2GB when imported into git - space that would just make the early
      git days unnecessarily complicated, when we don't have a lot of good
      infrastructure for it.
      
      Let it rip!
      1da177e4