| .. | .. | 
|---|
| 1359 | 1359 | * buffer and call into Hyper-V to transfer the data. | 
|---|
| 1360 | 1360 | */ | 
|---|
| 1361 | 1361 | static void hv_kmsg_dump(struct kmsg_dumper *dumper, | 
|---|
| 1362 |  | -			 enum kmsg_dump_reason reason, | 
|---|
| 1363 |  | -			 struct kmsg_dumper_iter *iter) | 
|---|
|  | 1362 | +			 enum kmsg_dump_reason reason) | 
|---|
| 1364 | 1363 | { | 
|---|
| 1365 | 1364 | size_t bytes_written; | 
|---|
| 1366 | 1365 | phys_addr_t panic_pa; | 
|---|
| .. | .. | 
|---|
| 1375 | 1374 | * Write dump contents to the page. No need to synchronize; panic should | 
|---|
| 1376 | 1375 | * be single-threaded. | 
|---|
| 1377 | 1376 | */ | 
|---|
| 1378 |  | -	kmsg_dump_get_buffer(iter, false, hv_panic_page, HV_HYP_PAGE_SIZE, | 
|---|
|  | 1377 | +	kmsg_dump_get_buffer(dumper, false, hv_panic_page, HV_HYP_PAGE_SIZE, | 
|---|
| 1379 | 1378 | &bytes_written); | 
|---|
| 1380 | 1379 | if (bytes_written) | 
|---|
| 1381 | 1380 | hyperv_report_panic_msg(panic_pa, bytes_written); | 
|---|