diff options
author | Dave Olson <dave.olson@qlogic.com> | 2007-10-10 08:10:35 -0400 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2008-01-25 17:15:25 -0500 |
commit | e193e3326c521eea6a0221e945627ae5e3274910 (patch) | |
tree | 7493676d8d2be425c6a5460c6db01e1268aca161 /drivers/infiniband/hw/ipath/ipath_intr.c | |
parent | 68e995a295720439ad2bf8677114cdf9d262d905 (diff) |
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>
Diffstat (limited to 'drivers/infiniband/hw/ipath/ipath_intr.c')
-rw-r--r-- | drivers/infiniband/hw/ipath/ipath_intr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/infiniband/hw/ipath/ipath_intr.c b/drivers/infiniband/hw/ipath/ipath_intr.c index c61f9da2964a..8f3718c1694f 100644 --- a/drivers/infiniband/hw/ipath/ipath_intr.c +++ b/drivers/infiniband/hw/ipath/ipath_intr.c | |||
@@ -849,7 +849,7 @@ void ipath_clear_freeze(struct ipath_devdata *dd) | |||
849 | 849 | ||
850 | /* this is separate to allow for better optimization of ipath_intr() */ | 850 | /* this is separate to allow for better optimization of ipath_intr() */ |
851 | 851 | ||
852 | static void ipath_bad_intr(struct ipath_devdata *dd, u32 * unexpectp) | 852 | static noinline void ipath_bad_intr(struct ipath_devdata *dd, u32 *unexpectp) |
853 | { | 853 | { |
854 | /* | 854 | /* |
855 | * sometimes happen during driver init and unload, don't want | 855 | * 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) | |||
892 | "ignoring\n"); | 892 | "ignoring\n"); |
893 | } | 893 | } |
894 | 894 | ||
895 | static void ipath_bad_regread(struct ipath_devdata *dd) | 895 | static noinline void ipath_bad_regread(struct ipath_devdata *dd) |
896 | { | 896 | { |
897 | static int allbits; | 897 | static int allbits; |
898 | 898 | ||