forked from luck/tmp_suning_uos_patched
IB/ipath: Improve interrupt handler cache footprint
Improve interrupt handler cache footprint by noinline'ing error functions that are rarely called. Signed-off-by: Dave Olson <dave.olson@qlogic.com> Signed-off-by: Roland Dreier <rolandd@cisco.com>
This commit is contained in:
parent
68e995a295
commit
e193e3326c
@ -849,7 +849,7 @@ void ipath_clear_freeze(struct ipath_devdata *dd)
|
|||||||
|
|
||||||
/* this is separate to allow for better optimization of ipath_intr() */
|
/* this is separate to allow for better optimization of ipath_intr() */
|
||||||
|
|
||||||
static void ipath_bad_intr(struct ipath_devdata *dd, u32 * unexpectp)
|
static noinline void ipath_bad_intr(struct ipath_devdata *dd, u32 *unexpectp)
|
||||||
{
|
{
|
||||||
/*
|
/*
|
||||||
* sometimes happen during driver init and unload, don't want
|
* sometimes happen during driver init and unload, don't want
|
||||||
@ -892,7 +892,7 @@ static void ipath_bad_intr(struct ipath_devdata *dd, u32 * unexpectp)
|
|||||||
"ignoring\n");
|
"ignoring\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
static void ipath_bad_regread(struct ipath_devdata *dd)
|
static noinline void ipath_bad_regread(struct ipath_devdata *dd)
|
||||||
{
|
{
|
||||||
static int allbits;
|
static int allbits;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user