Skip to content
Snippets Groups Projects
  1. Oct 11, 2007
  2. Oct 10, 2007
    • Pavel Emelyanov's avatar
      [NETNS]: Move some code into __init section when CONFIG_NET_NS=n · 4665079c
      Pavel Emelyanov authored
      
      With the net namespaces many code leaved the __init section,
      thus making the kernel occupy more memory than it did before.
      Since we have a config option that prohibits the namespace
      creation, the functions that initialize/finalize some netns
      stuff are simply not needed and can be freed after the boot.
      
      Currently, this is almost not noticeable, since few calls
      are no longer in __init, but when the namespaces will be
      merged it will be possible to free more code. I propose to
      use the __net_init, __net_exit and __net_initdata "attributes"
      for functions/variables that are not used if the CONFIG_NET_NS
      is not set to save more space in memory.
      
      The exiting functions cannot just reside in the __exit section,
      as noticed by David, since the init section will have
      references on it and the compilation will fail due to modpost
      checks. These references can exist, since the init namespace
      never dies and the exit callbacks are never called. So I
      introduce the __exit_refok attribute just like it is already
      done with the __init_refok.
      
      Signed-off-by: default avatarPavel Emelyanov <xemul@openvz.org>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      4665079c
    • Michael Buesch's avatar
      [SSB]: add Sonics Silicon Backplane bus support · 61e115a5
      Michael Buesch authored
      
      SSB is an SoC bus used in a number of embedded devices.  The most
      well-known of these devices is probably the Linksys WRT54G, but there
      are others as well.  The bus is also used internally on the BCM43xx
      and BCM44xx devices from Broadcom.
      
      This patch also includes support for SSB ID tables in modules, so
      that SSB drivers can be loaded automatically.
      
      Signed-off-by: default avatarMichael Buesch <mb@bu3sch.de>
      Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      61e115a5
  3. Sep 23, 2007
  4. Sep 01, 2007
  5. Aug 11, 2007
    • Andy Whitcroft's avatar
      update checkpatch.pl to version 0.09 · 22f2a2ef
      Andy Whitcroft authored
      
      This version brings a number of new checks, and a number of bug
      fixes.  Of note:
      
        - checks for spacing on round and square bracket combinations
        - loosening of the single statement brace checks, to allow
          them when they contain comments or where other blocks in a
          compound statement have them.
        - parks the multple declaration support
        - allows architecture defines in architecture specific headers
      
      Andy Whitcroft (21):
            Version: 0.09
            loosen single statement brace checks
            fix up multiple declaration to avoid function arguments
            add some function space parenthesis check exceptions
            handle EXPORT_'s with parentheses in their names
            clean up some warnings in multi-line macro bracketing support
            park the multiple declaration checks
            make block brace checks count comments as a statement
            __volatile__ and __extension__ are not functions
            allow architecture specific defined within architecture includes
            check spacing on square brackets
            check spacing on parentheses
            ensure we apply checks to the part before start comment
            check #ifdef conditional spacing
            handle __init_refok and __must_check
            add noinline to inline checks
            prevent email addresses from tripping spacing checks
            handle typed initialiser spacing
            handle line contination as end of line
            add bool to the type matcher
            refine EXPORT_SYMBOL checks to handle pointers
      
      Signed-off-by: default avatarAndy Whitcroft <apw@shadowen.org>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      22f2a2ef
  6. Jul 31, 2007
  7. Jul 25, 2007
  8. Jul 23, 2007
  9. Jul 20, 2007
  10. Jul 19, 2007
  11. Jul 17, 2007
  12. Jul 16, 2007
Loading