diff options
author | Simon Horman <horms@verge.net.au> | 2008-03-04 12:13:33 +0900 |
---|---|---|
committer | Simon Horman <horms@verge.net.au> | 2008-03-04 12:13:33 +0900 |
commit | 91ce7876a6ec7e51532f3a2a949bd8d284f5aaad (patch) | |
tree | 6de63d3b2aa28d110889b83cca02a6793b05ce38 /kexec/kexec.h | |
parent | 3f8791a7ed926363a882213886299cb65a4738d4 (diff) |
kexec-tools: no machine machine to proc_iomem()
Removes the machine parameter to proc_iomem() which is no
longer of any use.
Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'kexec/kexec.h')
-rw-r--r-- | kexec/kexec.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kexec/kexec.h b/kexec/kexec.h index 2384c53..3ae605e 100644 --- a/kexec/kexec.h +++ b/kexec/kexec.h @@ -207,15 +207,15 @@ int arch_compat_trampoline(struct kexec_info *info); void arch_update_purgatory(struct kexec_info *info); int is_crashkernel_mem_reserved(void); -int kexec_iomem_for_each_line(char *match, int machine, +int kexec_iomem_for_each_line(char *match, int (*callback)(void *data, int nr, char *str, unsigned long base, unsigned long length), void *data); -int parse_iomem_single(char *str, int machine, uint64_t *start, uint64_t *end); -const char * proc_iomem(int machine); +int parse_iomem_single(char *str, uint64_t *start, uint64_t *end); +const char * proc_iomem(void); #define MAX_LINE 160 |