/* Basic functions for adding/removing custom exception handlers * * Copyright 2004-2009 Analog Devices Inc. * * Licensed under the GPL-2 or later */ #include <linux/module.h> #include <asm/irq_handler.h>
int bfin_request_exception(unsigned int exception, void (*handler)(void)) { void (*curr_handler)(void); if (exception > 0x3F) return -EINVAL; curr_handler = ex_table[exception]; if (curr_handler != ex_replaceable) return -EBUSY; ex_table[exception] = handler; return 0; }Contributors
Person | Tokens | Prop | Commits | CommitProp |
Robin Getz | 64 | 100.00% | 1 | 100.00% |
Total | 64 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Robin Getz | 64 | 100.00% | 1 | 100.00% |
Total | 64 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Robin Getz | 145 | 100.00% | 1 | 100.00% |
Total | 145 | 100.00% | 1 | 100.00% |