1. 05 Mar, 2008 4 commits
    • Jesper Nilsson's avatar
      CRIS v10: Include mm.h instead of vmstat.h in kernel/time.c · a1056873
      Jesper Nilsson authored
      Commit 2f569afd
      (CONFIG_HIGHPTE vs. sub-page page tables) introduced use of
      inc_zone_page_state and dec_zone_page_state in include/linux/mm.h.
      
      Those are defined in include/linux/vmstat.h, but after it includes
      mm.h, making it impossible to include vmstat.h since inc_zone_page_state
      and dec_zone_page_state then would be undefined.
      
      arch/cris/arch-v10/kernel/time.c does just this, which makes the
      CRIS v10 build break with the following error:
      
      ...
        CC      arch/cris/arch-v10/kernel/time.o
      In file included from include/linux/vmstat.h:7,
                       from arch/cris/arch-v10/kernel/time.c:17:
      include/linux/mm.h: In function 'pgtable_page_ctor':
      include/linux/mm.h:902: error: implicit declaration of function 'inc_zone_page_state'
      include/linux/mm.h: In function 'pgtable_page_dtor':
      include/linux/mm.h:908: error: implicit declaration of function 'dec_zone_page_state'
      make[2]: *** [arch/cris/arch-v10/kernel/time.o] Error 1
      make[1]: *** [arch/cris/arch-v10/kernel] Error 2
      make: *** [sub-make] Error 2
      ...
      
      By changing kernel/time.c to include linux/mm.h, the build succeeds.
      Signed-off-by: default avatarJesper Nilsson <jesper.nilsson@axis.com>
      Cc: Mikael Starvik <mikael.starvik@axis.com>
      Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      a1056873
    • Bjorn Helgaas's avatar
      serial: add PNP ID GVC0303 for Archtek 3334BRV ISA modem · 51587cb5
      Bjorn Helgaas authored
      Thomas Lehmann <thomas.lehmann@alumni.tu-berlin.de> verified that this
      entry works.
      Signed-off-by: default avatarBjorn Helgaas <bjorn.helgaas@hp.com>
      Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      51587cb5
    • Andy Whitcroft's avatar
      update checkpatch.pl to version 0.15 · cf655043
      Andy Whitcroft authored
      This version brings a number of minor fixes updating the type detector and
      the unary tracker.  It also brings a few small fixes for false positives.
      It also reverts the --file warning.  Of note:
      
       - limit CVS checks to added lines
       - improved type detections
       - fixes to the unary tracker
      
      Andy Whitcroft (13):
            Version: 0.15
            EXPORT_SYMBOL checks need to accept array variables
            export checks must match DECLARE_foo and LIST_HEAD
            possible types: cleanup debugging missing line
            values: track values through preprocessor conditional paths
            typeof is actually a type
            possible types: detect definitions which cross lines
            values: include line numbers on value debug information
            values: ensure we find correctly record pending brackets
            values: simplify the brace history stack
            CVS keyword checks should only apply to added lines
            loosen spacing for comments
            allow braces for single statement blocks with multiline conditionals
      
      Harvey Harrison (1):
            checkpatch: remove fastcall
      
      Ingo Molnar (1):
            checkpatch.pl: revert wrong --file message
      
      Uwe Kleine-Koenig (1):
            fix typo "goot" -> "good"
      Signed-off-by: default avatarAndy Whitcroft <apw@shadowen.org>
      Cc: Randy Dunlap <rdunlap@xenotime.net>
      Cc: Joel Schopp <jschopp@austin.ibm.com>
      Cc: Ingo Molnar <mingo@elte.hu>
      Cc: Andi Kleen <ak@suse.de>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      cf655043
    • Li Zefan's avatar
      cgroup: fix default notify_on_release setting · b6abdb0e
      Li Zefan authored
      The documentation says the default value of notify_on_release of a child
      cgroup is inherited from its parent, which is reasonable, but the
      implementation just sets the flag disabled.
      Signed-off-by: default avatarLi Zefan <lizf@cn.fujitsu.com>
      Acked-by: default avatarPaul Menage <menage@google.com>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      b6abdb0e
  2. 04 Mar, 2008 36 commits