1. 23 6月, 2013 14 次提交
  2. 16 6月, 2013 20 次提交
    • J
      h8300: add missing definition for read_barries_depends() · c805a5b7
      Jiang Liu 提交于
      Add missing definition for read_barries_depends() for h8300 to fix error:
      kernel/task_work.c: In function 'task_work_cancel':
      kernel/task_work.c:38:3: error: implicit declaration of function 'read_barrier_depends' [-Werror=implicit-function-declaration]
      cc1: some warnings being treated as errors
      make[1]: *** [kernel/task_work.o] Error 1
      make: *** [kernel] Error 2
      
      Cc: Yoshinori Sato <ysato@users.sourceforge.jp>
      Cc: David Howells <dhowells@redhat.com>
      Cc: Geert Uytterhoeven <geert@linux-m68k.org>
      Cc: linux-kernel@vger.kernel.org
      Signed-off-by: NJiang Liu <jiang.liu@huawei.com>
      c805a5b7
    • G
      frv: head.S - Remove commented-out initialization code · c0b81e00
      Geert Uytterhoeven 提交于
      The commented-out calls to processor_init() and unit_init() seem to have
      been copied from mn10300, when starting the frv port. Remove them.
      Signed-off-by: NGeert Uytterhoeven <geert@linux-m68k.org>
      c0b81e00
    • G
      cris: Wire up asm-generic/vga.h · e3ccbc34
      Geert Uytterhoeven 提交于
      When compiling several DRM related files:
      
      include/video/vga.h:22:21: fatal error: asm/vga.h: No such file or directory
      Signed-off-by: NGeert Uytterhoeven <geert@linux-m68k.org>
      e3ccbc34
    • G
    • G
      35356292
    • G
      cris: Switch cris to drivers/Kconfig · acf83630
      Geert Uytterhoeven 提交于
      allmodconfig:
      
      drivers/video/console/fonts.c:71:2: error: #error No fonts configured.
      
      This is caused by cris not using the generic drivers/Kconfig, and thus not
      traversing drivers/video/console/Kconfig.
      As the build system does traverse drivers/video/console/Makefile, fonts.c
      was compiled with an inconsistent configuration.
      Signed-off-by: NGeert Uytterhoeven <geert@linux-m68k.org>
      acf83630
    • G
      cris: Wire up asm-generic/xor.h · cd07f4f3
      Geert Uytterhoeven 提交于
      crypto/xor.c:25:21: fatal error: asm/xor.h: No such file or directory
      Signed-off-by: NGeert Uytterhoeven <geert@linux-m68k.org>
      Acked-by: NJesper Nilsson <jesper.nilsson@axis.com>
      cd07f4f3
    • G
    • G
      cris: Provide inb_p() and outb_p() · 0dad16fd
      Geert Uytterhoeven 提交于
      drivers/block/hd.c: In function 'check_status':
      drivers/block/hd.c:256:2: error: implicit declaration of function 'inb_p' [-Werror=implicit-function-declaration]
      drivers/block/hd.c: In function 'controller_ready':
      drivers/block/hd.c:297:3: error: implicit declaration of function 'outb_p' [-Werror=implicit-function-declaration]
      Signed-off-by: NGeert Uytterhoeven <geert@linux-m68k.org>
      0dad16fd
    • G
      cris: Provide <asm/kvm_para.h> · 95f40de9
      Geert Uytterhoeven 提交于
      In file included from include/linux/kvm_para.h:4:0,
                       from kernel/watchdog.c:28:
      include/uapi/linux/kvm_para.h:26:26: fatal error: asm/kvm_para.h: No such file or directory
      Signed-off-by: NGeert Uytterhoeven <geert@linux-m68k.org>
      95f40de9
    • G
      cris/kgdb: Remove sections protected by #ifdef PROCESS_SUPPORT · 6a89a9db
      Geert Uytterhoeven 提交于
      When enabled, it doesn't build anyway:
      
      arch/cris/arch-v10/kernel/kgdb.c: In function 'copy_registers_from_stack':
      arch/cris/arch-v10/kernel/kgdb.c:631:2: error: unknown type name 'stack_registers'
      arch/cris/arch-v10/kernel/kgdb.c:631:24: error: 'stack_registers' undeclared (first use in this function)
      arch/cris/arch-v10/kernel/kgdb.c:631:24: note: each undeclared identifier is reported only once for each function it appears in
      arch/cris/arch-v10/kernel/kgdb.c:631:41: error: expected expression before ')' token
      arch/cris/arch-v10/kernel/kgdb.c:635:11: error: request for member 'r' in something not a structure or union
      arch/cris/arch-v10/kernel/kgdb.c:636:29: error: 'stack_list' undeclared (first use in this function)
      arch/cris/arch-v10/kernel/kgdb.c:637:16: error: request for member 'pc' in something not a structure or union
      arch/cris/arch-v10/kernel/kgdb.c:638:18: error: request for member 'dccr' in something not a structure or union
      arch/cris/arch-v10/kernel/kgdb.c:639:17: error: request for member 'srp' in something not a structure or union
      arch/cris/arch-v10/kernel/kgdb.c: In function 'copy_registers_to_stack':
      arch/cris/arch-v10/kernel/kgdb.c:648:2: error: unknown type name 'stack_registers'
      arch/cris/arch-v10/kernel/kgdb.c:648:24: error: 'stack_registers' undeclared (first use in this function)
      arch/cris/arch-v10/kernel/kgdb.c:648:41: error: expected expression before ')' token
      arch/cris/arch-v10/kernel/kgdb.c:652:4: error: request for member 'r' in something not a structure or union
      arch/cris/arch-v10/kernel/kgdb.c:654:3: error: request for member 'pc' in something not a structure or union
      arch/cris/arch-v10/kernel/kgdb.c:655:3: error: request for member 'dccr' in something not a structure or union
      arch/cris/arch-v10/kernel/kgdb.c:656:3: error: request for member 'srp' in something not a structure or union
      arch/cris/arch-v10/kernel/kgdb.c: In function 'write_stack_register':
      arch/cris/arch-v10/kernel/kgdb.c:702:2: error: unknown type name 'stack_registers'
      arch/cris/arch-v10/kernel/kgdb.c:702:24: error: 'stack_registers' undeclared (first use in this function)
      arch/cris/arch-v10/kernel/kgdb.c:702:41: error: expected expression before ')' token
      arch/cris/arch-v10/kernel/kgdb.c:707:4: error: request for member 'r' in something not a structure or union
      arch/cris/arch-v10/kernel/kgdb.c:710:3: error: 'stack_list' undeclared (first use in this function)
      arch/cris/arch-v10/kernel/kgdb.c:713:4: error: request for member 'pc' in something not a structure or union
      arch/cris/arch-v10/kernel/kgdb.c:716:4: error: request for member 'srp' in something not a structure or union
      arch/cris/arch-v10/kernel/kgdb.c:719:4: error: request for member 'dccr' in something not a structure or union
      arch/cris/arch-v10/kernel/kgdb.c: In function 'stub_is_stopped':
      arch/cris/arch-v10/kernel/kgdb.c:827:36: error: 'pos' undeclared (first use in this function)
      arch/cris/arch-v10/kernel/kgdb.c: In function 'handle_exception':
      arch/cris/arch-v10/kernel/kgdb.c:1064:40: error: 'number_of_tasks' undeclared (first use in this function)
      arch/cris/arch-v10/kernel/kgdb.c:1125:8: error: implicit declaration of function 'os_is_started' [-Werror=implicit-function-declaration]
      Signed-off-by: NGeert Uytterhoeven <geert@linux-m68k.org>
      6a89a9db
    • G
      cris/kgdb: Fix buffer overflow in getpacket() · de666cf0
      Geert Uytterhoeven 提交于
      arch/cris/arch-v10/kernel/kgdb.c: In function 'handle_exception':
      arch/cris/arch-v10/kernel/kgdb.c:534:17: warning: array subscript is above array bounds [-Warray-bounds]
      Signed-off-by: NGeert Uytterhoeven <geert@linux-m68k.org>
      de666cf0
    • G
      cris/kgdb: Remove obsolete USED*() macros · e42e3980
      Geert Uytterhoeven 提交于
      handle_exception and internal_stack are now global
      Signed-off-by: NGeert Uytterhoeven <geert@linux-m68k.org>
      e42e3980
    • G
      cris/kgdb: Make symbols used from asm global · 6408ac49
      Geert Uytterhoeven 提交于
      arch/cris/arch-v10/kernel/built-in.o: In function `kgdb_handle_breakpoint':
      (.text+0x2c3e): undefined reference to `reg'
      arch/cris/arch-v10/kernel/built-in.o: In function `kgdb_handle_breakpoint':
      (.text+0x2c48): undefined reference to `reg'
      arch/cris/arch-v10/kernel/built-in.o: In function `kgdb_handle_breakpoint':
      (.text+0x2c50): undefined reference to `reg'
      arch/cris/arch-v10/kernel/built-in.o: In function `kgdb_handle_breakpoint':
      (.text+0x2c58): undefined reference to `reg'
      arch/cris/arch-v10/kernel/built-in.o: In function `kgdb_handle_breakpoint':
      (.text+0x2c60): undefined reference to `reg'
      arch/cris/arch-v10/kernel/built-in.o:(.text+0x2c68): more undefined references to `reg' follow
      arch/cris/arch-v10/kernel/built-in.o: In function `is_static':
      kgdb.c:(.text+0x2d46): undefined reference to `internal_stack'
      kgdb.c:(.text+0x2d4e): undefined reference to `handle_exception'
      kgdb.c:(.text+0x2d54): undefined reference to `reg'
      kgdb.c:(.text+0x2d5c): undefined reference to `reg'
      kgdb.c:(.text+0x2d64): undefined reference to `reg'
      kgdb.c:(.text+0x2d6c): undefined reference to `reg'
      kgdb.c:(.text+0x2d74): undefined reference to `reg'
      arch/cris/arch-v10/kernel/built-in.o:kgdb.c:(.text+0x2d7c): more undefined references to `reg' follow
      arch/cris/arch-v10/kernel/built-in.o: In function `kgdb_handle_serial':
      (.text+0x2ef6): undefined reference to `internal_stack'
      arch/cris/arch-v10/kernel/built-in.o: In function `kgdb_handle_serial':
      (.text+0x2efe): undefined reference to `handle_exception'
      arch/cris/arch-v10/kernel/built-in.o: In function `goback':
      kgdb.c:(.text+0x2f04): undefined reference to `reg'
      kgdb.c:(.text+0x2f0c): undefined reference to `reg'
      kgdb.c:(.text+0x2f14): undefined reference to `reg'
      kgdb.c:(.text+0x2f1c): undefined reference to `reg'
      kgdb.c:(.text+0x2f24): undefined reference to `reg'
      arch/cris/arch-v10/kernel/built-in.o:kgdb.c:(.text+0x2f2c): more undefined references to `reg' follow
      
      Make reg, internal_stack, and handle_exception global to fix this.
      Rename reg to cris_reg as it's a too generic name for a global symbol.
      Signed-off-by: NGeert Uytterhoeven <geert@linux-m68k.org>
      6408ac49
    • G
      cris/kgdb: Use #ifdef PROCESS_SUPPORT where needed · d6c97e1c
      Geert Uytterhoeven 提交于
      arch/cris/arch-v10/kernel/kgdb.c:354:12: warning: 'current_thread_c' defined but not used [-Wunused-variable]
      arch/cris/arch-v10/kernel/kgdb.c:355:12: warning: 'current_thread_g' defined but not used [-Wunused-variable]
      arch/cris/arch-v10/kernel/kgdb.c:359:18: warning: 'reg_g' defined but not used [-Wunused-variable]
      arch/cris/arch-v10/kernel/kgdb.c:622:1: warning: 'copy_registers' defined but not used [-Wunused-function]
      Signed-off-by: NGeert Uytterhoeven <geert@linux-m68k.org>
      d6c97e1c
    • G
      cris/kgdb: Kill forward declarations for static functions · 4bf01dda
      Geert Uytterhoeven 提交于
      Move some functions around and kill forward declarations for static
      functions. This fixes:
      
      arch/cris/arch-v10/kernel/kgdb.c:255:13: warning: 'copy_registers_from_stack' declared 'static' but never defined [-Wunused-function]
      arch/cris/arch-v10/kernel/kgdb.c:259:13: warning: 'copy_registers_to_stack' declared 'static' but never defined [-Wunused-function]
      arch/cris/arch-v10/kernel/kgdb.c:267:12: warning: 'write_stack_register' declared 'static' but never defined [-Wunused-function]
      Signed-off-by: NGeert Uytterhoeven <geert@linux-m68k.org>
      4bf01dda
    • G
      4bb77a9d
    • G
      cris/kgdb: Properly split long lines in asm · 7fc6a8ba
      Geert Uytterhoeven 提交于
      arch/cris/arch-v10/kernel/kgdb.c:1273:6: warning: missing terminating " character [enabled by default]
      arch/cris/arch-v10/kernel/kgdb.c:1359:1: warning: missing terminating " character [enabled by default]
      arch/cris/arch-v10/kernel/kgdb.c:1370:6: warning: missing terminating " character [enabled by default]
      arch/cris/arch-v10/kernel/kgdb.c:1457:1: warning: missing terminating " character [enabled by default]
      arch/cris/arch-v10/kernel/kgdb.c:1273:6: warning: missing terminating " character [enabled by default]
      arch/cris/arch-v10/kernel/kgdb.c:1273:1: error: missing terminating " character
      arch/cris/arch-v10/kernel/kgdb.c:1274:3: error: expected string literal before '.' token
      arch/cris/arch-v10/kernel/kgdb.c:1359:1: warning: missing terminating " character [enabled by default]
      arch/cris/arch-v10/kernel/kgdb.c:1359:1: error: missing terminating " character
      arch/cris/arch-v10/kernel/kgdb.c:1370:6: warning: missing terminating " character [enabled by default]
      arch/cris/arch-v10/kernel/kgdb.c:1370:1: error: missing terminating " character
      arch/cris/arch-v10/kernel/kgdb.c:1457:1: warning: missing terminating " character [enabled by default]
      arch/cris/arch-v10/kernel/kgdb.c:1457:1: error: missing terminating " character
      Signed-off-by: NGeert Uytterhoeven <geert@linux-m68k.org>
      7fc6a8ba
    • G
      7e973d79
    • G
      avr32: atmel_default_console_device depends on CONFIG_SERIAL_ATMEL · b5cc4891
      Geert Uytterhoeven 提交于
      allnoconfig:
      
      arch/avr32/mach-at32ap/built-in.o: In function `at32_select_gpio':
      (.init.text+0x548): undefined reference to `atmel_default_console_device'
      Signed-off-by: NGeert Uytterhoeven <geert@linux-m68k.org>
      Acked-by: NHans-Christian Egtvedt <egtvedt@samfundet.no>
      b5cc4891
  3. 09 6月, 2013 6 次提交