Skip to content

Commit

Permalink
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel…
Browse files Browse the repository at this point in the history
…/git/egtvedt/linux-avr32

Pull AVR32 update from Hans-Christian Egtvedt:
 "wow, it has gone 10 releases since my last request :("

* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/egtvedt/linux-avr32:
  avr32: fix building warnings caused by redefinitions of HZ
  avr32: fix relocation check for signed 18-bit offset
  avr32: move NODES_SHIFT into Kconfig and delete numnodes.h
  • Loading branch information
Linus Torvalds committed May 23, 2013
2 parents 3cb7a59 + 0c9b5a3 commit 101b82f
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 35 deletions.
5 changes: 5 additions & 0 deletions arch/avr32/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,11 @@ config ARCH_DISCONTIGMEM_ENABLE
config ARCH_SPARSEMEM_ENABLE
def_bool n

config NODES_SHIFT
int
default "2"
depends on NEED_MULTIPLE_NODES

source "mm/Kconfig"

config OWNERSHIP_TRACE
Expand Down
1 change: 1 addition & 0 deletions arch/avr32/include/asm/Kbuild
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
generic-y += clkdev.h
generic-y += exec.h
generic-y += trace_clock.h
generic-y += param.h
7 changes: 0 additions & 7 deletions arch/avr32/include/asm/numnodes.h

This file was deleted.

9 changes: 0 additions & 9 deletions arch/avr32/include/asm/param.h

This file was deleted.

1 change: 1 addition & 0 deletions arch/avr32/include/uapi/asm/Kbuild
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,4 @@ header-y += termbits.h
header-y += termios.h
header-y += types.h
header-y += unistd.h
generic-y += param.h
18 changes: 0 additions & 18 deletions arch/avr32/include/uapi/asm/param.h

This file was deleted.

2 changes: 1 addition & 1 deletion arch/avr32/kernel/module.c
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ int apply_relocate_add(Elf32_Shdr *sechdrs, const char *strtab,
break;
case R_AVR32_GOT18SW:
if ((relocation & 0xfffe0003) != 0
&& (relocation & 0xfffc0003) != 0xffff0000)
&& (relocation & 0xfffc0000) != 0xfffc0000)
return reloc_overflow(module, "R_AVR32_GOT18SW",
relocation);
relocation >>= 2;
Expand Down

0 comments on commit 101b82f

Please sign in to comment.