1. 30 3月, 2009 37 次提交
  2. 29 3月, 2009 3 次提交
    • R
      Fix build error in <linux/irq.h> · 503e5763
      Ralf Baechle 提交于
      <linux/irq.h> relies on <linux/gfp.h> and <linux/topology.h> having been
      included previous.  If not, the errors like below will result.
      
          CC      arch/mips/mti-malta/malta-int.o
        In file included from arch/mips/mti-malta/malta-int.c:25:
        include/linux/irq.h: In function ‘init_alloc_desc_masks’:
        include/linux/irq.h:444: error: implicit declaration of function ‘cpu_to_node’
        include/linux/irq.h:446: error: ‘GFP_ATOMIC’ undeclared (first use in this function)
        include/linux/irq.h:446: error: (Each undeclared identifier is reported only once
        include/linux/irq.h:446: error: for each function it appears in.)
        make[3]: *** [arch/mips/mti-malta/malta-int.o] Error 1
        make[2]: *** [arch/mips/mti-malta] Error 2
        make[1]: *** [sub-make] Error 2
      
      Fixed by including the two missing headers.
      Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      503e5763
    • R
      sched: fix errors in struct & function comments · d5ac537e
      Randy Dunlap 提交于
      Fix kernel-doc errors in sched.c:  the structs don't have
      kernel-doc notation and the short function description needs to
      be one line only.
      
        Error(kernel/sched.c:3197): cannot understand prototype: 'struct sd_lb_stats '
        Error(kernel/sched.c:3228): cannot understand prototype: 'struct sg_lb_stats '
        Error(kernel/sched.c:3375): duplicate section name 'Description'
      Signed-off-by: NRandy Dunlap <randy.dunlap@oracle.com>
      cc: Ingo Molnar <mingo@elte.hu>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      d5ac537e
    • R
      maple: fix Error in kernel-doc notation · ee665ecc
      Randy Dunlap 提交于
      Fix kernel-doc error in maple (it's not kernel-doc):
      
        Error(drivers/sh/maple/maple.c:782): cannot understand prototype: 'struct bus_type maple_bus_type = '
      Signed-off-by: NRandy Dunlap <randy.dunlap@oracle.com>
      cc: Paul Mundt <lethal@linux-sh.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      ee665ecc