ARM: 6269/1: Add 'code' parameter for hook_fault_code()
Add one more parameter to hook_fault_code() to be able to set 'code' field of struct fsr_info. Signed-off-by: Kirill A. Shutemov <kirill@shutemov.name> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
This commit is contained in:

committed by
Russell King

parent
3dc91aff9c
commit
6338a6aa7c
@@ -209,7 +209,7 @@ ixp2000_pci_preinit(void)
|
||||
"the needed workaround has not been configured in");
|
||||
#endif
|
||||
|
||||
hook_fault_code(16+6, ixp2000_pci_abort_handler, SIGBUS,
|
||||
hook_fault_code(16+6, ixp2000_pci_abort_handler, SIGBUS, 0,
|
||||
"PCI config cycle to non-existent device");
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user