| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * Routines for doing kexec-based kdump |
|---|
| 3 | 4 | * |
|---|
| 4 | 5 | * Copyright (C) 2017 Linaro Limited |
|---|
| 5 | 6 | * Author: AKASHI Takahiro <takahiro.akashi@linaro.org> |
|---|
| 6 | | - * |
|---|
| 7 | | - * This program is free software; you can redistribute it and/or modify |
|---|
| 8 | | - * it under the terms of the GNU General Public License version 2 as |
|---|
| 9 | | - * published by the Free Software Foundation. |
|---|
| 10 | 7 | */ |
|---|
| 11 | 8 | |
|---|
| 12 | 9 | #include <linux/crash_dump.h> |
|---|
| .. | .. |
|---|
| 58 | 55 | /** |
|---|
| 59 | 56 | * elfcorehdr_read - read from ELF core header |
|---|
| 60 | 57 | * @buf: buffer where the data is placed |
|---|
| 61 | | - * @csize: number of bytes to read |
|---|
| 58 | + * @count: number of bytes to read |
|---|
| 62 | 59 | * @ppos: address in the memory |
|---|
| 63 | 60 | * |
|---|
| 64 | 61 | * This function reads @count bytes from elf core header which exists |
|---|