Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 311110
b: refs/heads/master
c: 5e7b6ed
h: refs/heads/master
v: v3
  • Loading branch information
Geert Uytterhoeven authored and Linus Torvalds committed Jun 20, 2012
1 parent 88cb87d commit 96cea73
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 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: 3a981f482cc29f7d0aeab509e51ea15519a6e961
refs/heads/master: 5e7b6ed8e9bf3c8e3bb579fd0aec64f6526f8c81
3 changes: 1 addition & 2 deletions trunk/arch/xtensa/kernel/vmlinux.lds.S
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@ SECTIONS

_text = .;
_stext = .;
_ftext = .;

.text :
{
Expand Down Expand Up @@ -112,7 +111,7 @@ SECTIONS
EXCEPTION_TABLE(16)
/* Data section */

_fdata = .;
_sdata = .;
RW_DATA_SECTION(XCHAL_ICACHE_LINESIZE, PAGE_SIZE, THREAD_SIZE)
_edata = .;

Expand Down
6 changes: 3 additions & 3 deletions trunk/arch/xtensa/mm/init.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

/* References to section boundaries */

extern char _ftext, _etext, _fdata, _edata, _rodata_end;
extern char _stext, _etext, _sdata, _edata, _rodata_end;
extern char __init_begin, __init_end;

/*
Expand Down Expand Up @@ -197,8 +197,8 @@ void __init mem_init(void)
reservedpages++;
}

codesize = (unsigned long) &_etext - (unsigned long) &_ftext;
datasize = (unsigned long) &_edata - (unsigned long) &_fdata;
codesize = (unsigned long) &_etext - (unsigned long) &_stext;
datasize = (unsigned long) &_edata - (unsigned long) &_sdata;
initsize = (unsigned long) &__init_end - (unsigned long) &__init_begin;

printk("Memory: %luk/%luk available (%ldk kernel code, %ldk reserved, "
Expand Down

0 comments on commit 96cea73

Please sign in to comment.