elf64 entry is defined as a u64. Since boot_addr is used to store the elf entry point, change boot_addr type to u64 to support both elf32 and elf64. In the same time, fix users that were using this variable.
Showing the changes to include/linux (1 of 4 files). Show all
Unified · Split
| @@ -382,7 +382,7 @@ struct rproc_ops { · 381 unmodified lines | ||
| 382 | 382 | struct rproc *rproc, const struct firmware *fw); |
| 383 | 383 | int (*load)(struct rproc *rproc, const struct firmware *fw); |
| 384 | 384 | int (*sanity_check)(struct rproc *rproc, const struct firmware *fw); |
| 385 | − u32 (*get_boot_addr)(struct rproc *rproc, const struct firmware *fw); | |
| 385 | + u64 (*get_boot_addr)(struct rproc *rproc, const struct firmware *fw); | |
| 386 | 386 | }; |
| 387 | 387 | |
| 388 | 388 | /** |
| @@ -498,7 +498,7 @@ struct rproc { · 109 unmodified lines | ||
| 498 | 498 | int num_traces; |
| 499 | 499 | struct list_head carveouts; |
| 500 | 500 | struct list_head mappings; |
| 501 | − u32 bootaddr; | |
| 501 | + u64 bootaddr; | |
| 502 | 502 | struct list_head rvdevs; |
| 503 | 503 | struct list_head subdevs; |
| 504 | 504 | struct idr notifyids; |