diff options
Diffstat (limited to 'drivers/lguest/hypercalls.c')
-rw-r--r-- | drivers/lguest/hypercalls.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/lguest/hypercalls.c b/drivers/lguest/hypercalls.c index 02e67b49ea4f..8bde20934f91 100644 --- a/drivers/lguest/hypercalls.c +++ b/drivers/lguest/hypercalls.c | |||
@@ -225,9 +225,7 @@ static void initialize(struct lguest *lg) | |||
225 | /* We tell the Guest that it can't use the top 4MB of virtual | 225 | /* We tell the Guest that it can't use the top 4MB of virtual |
226 | * addresses used by the Switcher. */ | 226 | * addresses used by the Switcher. */ |
227 | || put_user(4U*1024*1024, &lg->lguest_data->reserve_mem) | 227 | || put_user(4U*1024*1024, &lg->lguest_data->reserve_mem) |
228 | || put_user(tsc_speed, &lg->lguest_data->tsc_khz) | 228 | || put_user(tsc_speed, &lg->lguest_data->tsc_khz)) |
229 | /* We also give the Guest a unique id, as used in lguest_net.c. */ | ||
230 | || put_user(lg->guestid, &lg->lguest_data->guestid)) | ||
231 | kill_guest(lg, "bad guest page %p", lg->lguest_data); | 229 | kill_guest(lg, "bad guest page %p", lg->lguest_data); |
232 | 230 | ||
233 | /* We write the current time into the Guest's data page once now. */ | 231 | /* We write the current time into the Guest's data page once now. */ |