Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 166185
b: refs/heads/master
c: 4295f8b
h: refs/heads/master
i:
  166183: 8bbdbd8
v: v3
  • Loading branch information
Tim Abbott authored and Linus Torvalds committed Sep 25, 2009
1 parent cbe8af9 commit 4107c61
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 37 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: eb121d1f17480793a0d8aa278929976dbb7612f5
refs/heads/master: 4295f8b318b424be0f87c9fd9aa1eb35c9585faf
40 changes: 4 additions & 36 deletions trunk/arch/mn10300/kernel/vmlinux.lds.S
Original file line number Diff line number Diff line change
Expand Up @@ -44,24 +44,8 @@ SECTIONS
RO_DATA(PAGE_SIZE)

/* writeable */
.data : { /* Data */
DATA_DATA
CONSTRUCTORS
}

.data_nosave : { NOSAVE_DATA; }

.data.page_aligned : { PAGE_ALIGNED_DATA(PAGE_SIZE); }
.data.cacheline_aligned : { CACHELINE_ALIGNED_DATA(32); }

/* rarely changed data like cpu maps */
. = ALIGN(32);
.data.read_mostly : AT(ADDR(.data.read_mostly)) {
READ_MOSTLY_DATA(32);
_edata = .; /* End of data section */
}

.data.init_task : { INIT_TASK_DATA(THREAD_SIZE); }
RW_DATA_SECTION(32, PAGE_SIZE, THREAD_SIZE)
_edata = .;

/* might get freed after init */
. = ALIGN(PAGE_SIZE);
Expand All @@ -74,22 +58,8 @@ SECTIONS
/* will be freed after init */
. = ALIGN(PAGE_SIZE); /* Init code and data */
__init_begin = .;
.init.text : {
_sinittext = .;
INIT_TEXT;
_einittext = .;
}
.init.data : { INIT_DATA; }
.setup.init : { INIT_SETUP(16); }

__initcall_start = .;
.initcall.init : {
INITCALLS
}
__initcall_end = .;
.con_initcall.init : { CON_INITCALL; }

SECURITY_INIT
INIT_TEXT_SECTION(PAGE_SIZE)
INIT_DATA_SECTION(16)
. = ALIGN(4);
__alt_instructions = .;
.altinstructions : { *(.altinstructions) }
Expand All @@ -100,8 +70,6 @@ SECTIONS
.exit.text : { EXIT_TEXT; }
.exit.data : { EXIT_DATA; }

.init.ramfs : { INIT_RAM_FS; }

PERCPU(32)
. = ALIGN(PAGE_SIZE);
__init_end = .;
Expand Down

0 comments on commit 4107c61

Please sign in to comment.