diff options
Diffstat (limited to 'arch/frv')
-rw-r--r-- | arch/frv/Kconfig | 4 | ||||
-rw-r--r-- | arch/frv/kernel/vmlinux.lds.S | 1 | ||||
-rw-r--r-- | arch/frv/mm/elf-fdpic.c | 4 |
3 files changed, 9 insertions, 0 deletions
diff --git a/arch/frv/Kconfig b/arch/frv/Kconfig index cea237413aa2..eed694312a79 100644 --- a/arch/frv/Kconfig +++ b/arch/frv/Kconfig | |||
@@ -53,6 +53,10 @@ config ARCH_HAS_ILOG2_U64 | |||
53 | bool | 53 | bool |
54 | default y | 54 | default y |
55 | 55 | ||
56 | config ARCH_USES_SLAB_PAGE_STRUCT | ||
57 | bool | ||
58 | default y | ||
59 | |||
56 | mainmenu "Fujitsu FR-V Kernel Configuration" | 60 | mainmenu "Fujitsu FR-V Kernel Configuration" |
57 | 61 | ||
58 | source "init/Kconfig" | 62 | source "init/Kconfig" |
diff --git a/arch/frv/kernel/vmlinux.lds.S b/arch/frv/kernel/vmlinux.lds.S index 97910e016825..28eae9735ad6 100644 --- a/arch/frv/kernel/vmlinux.lds.S +++ b/arch/frv/kernel/vmlinux.lds.S | |||
@@ -57,6 +57,7 @@ SECTIONS | |||
57 | __alt_instructions_end = .; | 57 | __alt_instructions_end = .; |
58 | .altinstr_replacement : { *(.altinstr_replacement) } | 58 | .altinstr_replacement : { *(.altinstr_replacement) } |
59 | 59 | ||
60 | . = ALIGN(4096); | ||
60 | __per_cpu_start = .; | 61 | __per_cpu_start = .; |
61 | .data.percpu : { *(.data.percpu) } | 62 | .data.percpu : { *(.data.percpu) } |
62 | __per_cpu_end = .; | 63 | __per_cpu_end = .; |
diff --git a/arch/frv/mm/elf-fdpic.c b/arch/frv/mm/elf-fdpic.c index 9477ccce070e..cac2c01a3a56 100644 --- a/arch/frv/mm/elf-fdpic.c +++ b/arch/frv/mm/elf-fdpic.c | |||
@@ -64,6 +64,10 @@ unsigned long arch_get_unmapped_area(struct file *filp, unsigned long addr, unsi | |||
64 | if (len > TASK_SIZE) | 64 | if (len > TASK_SIZE) |
65 | return -ENOMEM; | 65 | return -ENOMEM; |
66 | 66 | ||
67 | /* handle MAP_FIXED */ | ||
68 | if (flags & MAP_FIXED) | ||
69 | return addr; | ||
70 | |||
67 | /* only honour a hint if we're not going to clobber something doing so */ | 71 | /* only honour a hint if we're not going to clobber something doing so */ |
68 | if (addr) { | 72 | if (addr) { |
69 | addr = PAGE_ALIGN(addr); | 73 | addr = PAGE_ALIGN(addr); |