Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 63115
b: refs/heads/master
c: a8a11f0
h: refs/heads/master
i:
  63113: a4936c3
  63111: fbe33ac
v: v3
  • Loading branch information
Rusty Russell authored and Linus Torvalds committed Jul 29, 2007
1 parent 43da00f commit cb8f929
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: dfbab7540569679a91cf43208eff4ef3f4500a5f
refs/heads/master: a8a11f06973fa63ad692a8f97694cb5eeb70b3f3
5 changes: 5 additions & 0 deletions trunk/drivers/lguest/lguest.c
Original file line number Diff line number Diff line change
Expand Up @@ -1019,6 +1019,11 @@ __init void lguest_init(void *boot)
* the normal data segment to get through booting. */
asm volatile ("mov %0, %%fs" : : "r" (__KERNEL_DS) : "memory");

/* Clear the part of the kernel data which is expected to be zero.
* Normally it will be anyway, but if we're loading from a bzImage with
* CONFIG_RELOCATALE=y, the relocations will be sitting here. */
memset(__bss_start, 0, __bss_stop - __bss_start);

/* The Host uses the top of the Guest's virtual address space for the
* Host<->Guest Switcher, and it tells us how much it needs in
* lguest_data.reserve_mem, set up on the LGUEST_INIT hypercall. */
Expand Down

0 comments on commit cb8f929

Please sign in to comment.