1. 21 11月, 2013 37 次提交
  2. 20 11月, 2013 3 次提交
    • C
      avr32: uapi: be sure of "_UAPI" prefix for all guard macros · e7f2c8c1
      Chen Gang 提交于
      For all uapi headers, need use "_UAPI" prefix for its guard macro
      (which will be stripped by "scripts/headers_installer.sh").
      
      Also remove redundant files (bitsperlong.h, errno.h, fcntl.h, ioctl.h,
      ioctls.h, ipcbuf.h, kvm_para.h, mman.h, poll.h, resource.h, siginfo.h,
      statfs.h, and unistd.h) which are already in Kbuild.
      
      Also be sure that all "#endif" only have one empty line above, and each
      file has guard macro.
      Signed-off-by: NChen Gang <gang.chen@asianux.com>
      Signed-off-by: NHans-Christian Egtvedt <hegtvedt@cisco.com>
      e7f2c8c1
    • E
      avr32: add kprobe_ctlblk memory struct · dbc0d691
      Eirik Aanonsen 提交于
      This re-enables kprobes on AVR32 architecture.
      Signed-off-by: NEirik Aanonsen <eaa@wprmedical.com>
      Signed-off-by: NHans-Christian Egtvedt <egtvedt@samfundet.no>
      dbc0d691
    • A
      avr32: fix out-of-range jump in large kernels · d617b338
      Andreas Bießmann 提交于
      This patch fixes following error (for big kernels):
      
      ---8<---
      arch/avr32/boot/u-boot/head.o: In function `no_tag_table':
      (.init.text+0x44): relocation truncated to fit: R_AVR32_22H_PCREL against symbol `panic' defined in .text.unlikely section in kernel/built-in.o
      arch/avr32/kernel/built-in.o: In function `bad_return':
      (.ex.text+0x236): relocation truncated to fit: R_AVR32_22H_PCREL against symbol `panic' defined in .text.unlikely section in kernel/built-in.o
      --->8---
      
      It comes up when the kernel increases and 'panic()' is too far away to fit in
      the +/- 2MiB range. Which in turn issues from the 21-bit displacement in
      'br{cond4}' mnemonic which is one of the two ways to do jumps (rjmp has just
      10-bit displacement and therefore a way smaller range). This fact was stated
      before in 8d29b7b9.
      One solution to solve this is to add a local storage for the symbol address
      and just load the $pc with that value.
      Signed-off-by: NAndreas Bießmann <andreas@biessmann.de>
      Acked-by: NHans-Christian Egtvedt <egtvedt@samfundet.no>
      Cc: Haavard Skinnemoen <hskinnemoen@gmail.com>
      Cc: stable@vger.kernel.org
      d617b338