automatically generate hfi structs from dwarf info
This commit is contained in:
committed by
Balazs Gerofi
parent
6279f69f5c
commit
03fed4d1c8
@@ -573,8 +573,8 @@ int hfi1_map_device_addresses(struct hfi1_filedata *fd)
|
||||
/*
|
||||
* Map device addresses if not mapped or mapping changed.
|
||||
*/
|
||||
if (proc->hfi1_kregbase != dd->kregbase) {
|
||||
void *hfi1_kregbase = dd->kregbase;
|
||||
if (proc->hfi1_kregbase != dd->kregbase1) {
|
||||
void *hfi1_kregbase = dd->kregbase1;
|
||||
|
||||
phys = dd->physaddr;
|
||||
attr = PTATTR_UNCACHABLE | PTATTR_WRITABLE;
|
||||
|
||||
Reference in New Issue
Block a user