Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 154567
b: refs/heads/master
c: f6430a9
h: refs/heads/master
i:
  154565: de8c4fb
  154563: 654671e
  154559: d66d186
v: v3
  • Loading branch information
Linus Walleij authored and Russell King committed Jun 25, 2009
1 parent fd78219 commit 3d35e69
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 9 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 7aa5514e7170c6179272bc638a980adc1738fd29
refs/heads/master: f6430a938dc6d77e33722aaf6a58382b3423935d
2 changes: 1 addition & 1 deletion trunk/arch/arm/include/asm/page.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

/* PAGE_SHIFT determines the page size */
#define PAGE_SHIFT 12
#define PAGE_SIZE (1UL << PAGE_SHIFT)
#define PAGE_SIZE (_AC(1,UL) << PAGE_SHIFT)
#define PAGE_MASK (~(PAGE_SIZE-1))

#ifndef __ASSEMBLY__
Expand Down
15 changes: 8 additions & 7 deletions trunk/arch/arm/kernel/vmlinux.lds.S
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
#include <asm-generic/vmlinux.lds.h>
#include <asm/thread_info.h>
#include <asm/memory.h>
#include <asm/page.h>

OUTPUT_ARCH(arm)
ENTRY(stext)
Expand Down Expand Up @@ -63,7 +64,7 @@ SECTIONS
usr/built-in.o(.init.ramfs)
__initramfs_end = .;
#endif
. = ALIGN(4096);
. = ALIGN(PAGE_SIZE);
__per_cpu_load = .;
__per_cpu_start = .;
*(.data.percpu.page_aligned)
Expand All @@ -73,7 +74,7 @@ SECTIONS
#ifndef CONFIG_XIP_KERNEL
__init_begin = _stext;
INIT_DATA
. = ALIGN(4096);
. = ALIGN(PAGE_SIZE);
__init_end = .;
#endif
}
Expand Down Expand Up @@ -118,7 +119,7 @@ SECTIONS
*(.got) /* Global offset table */
}

RODATA
RO_DATA(PAGE_SIZE)

_etext = .; /* End of text and rodata section */

Expand Down Expand Up @@ -158,17 +159,17 @@ SECTIONS
*(.data.init_task)

#ifdef CONFIG_XIP_KERNEL
. = ALIGN(4096);
. = ALIGN(PAGE_SIZE);
__init_begin = .;
INIT_DATA
. = ALIGN(4096);
. = ALIGN(PAGE_SIZE);
__init_end = .;
#endif

. = ALIGN(4096);
. = ALIGN(PAGE_SIZE);
__nosave_begin = .;
*(.data.nosave)
. = ALIGN(4096);
. = ALIGN(PAGE_SIZE);
__nosave_end = .;

/*
Expand Down

0 comments on commit 3d35e69

Please sign in to comment.