Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 356156
b: refs/heads/master
c: 05a476b
h: refs/heads/master
v: v3
  • Loading branch information
Alexander Duyck authored and H. Peter Anvin committed Nov 17, 2012
1 parent 38bc905 commit f328b3c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 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: 7d74275d39def4d3ccc8cf4725388bf79ef13861
refs/heads/master: 05a476b6e3795f205806662bf09ab95774266292
4 changes: 2 additions & 2 deletions trunk/arch/x86/kernel/head32.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ static void __init i386_default_early_setup(void)

void __init i386_start_kernel(void)
{
memblock_reserve(__pa_symbol(&_text),
__pa_symbol(&__bss_stop) - __pa_symbol(&_text));
memblock_reserve(__pa_symbol(_text),
(phys_addr_t)__bss_stop - (phys_addr_t)_text);

#ifdef CONFIG_BLK_DEV_INITRD
/* Reserve INITRD */
Expand Down
4 changes: 2 additions & 2 deletions trunk/arch/x86/kernel/head64.c
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,8 @@ void __init x86_64_start_reservations(char *real_mode_data)
{
copy_bootdata(__va(real_mode_data));

memblock_reserve(__pa_symbol(&_text),
__pa_symbol(&__bss_stop) - __pa_symbol(&_text));
memblock_reserve(__pa_symbol(_text),
(phys_addr_t)__bss_stop - (phys_addr_t)_text);

#ifdef CONFIG_BLK_DEV_INITRD
/* Reserve INITRD */
Expand Down

0 comments on commit f328b3c

Please sign in to comment.