diff options
author | Peter Chubb <peterc@gelato.unsw.edu.au> | 2007-08-20 23:57:01 -0400 |
---|---|---|
committer | Tony Luck <tony.luck@intel.com> | 2007-09-01 05:52:25 -0400 |
commit | 7b3166dbc3df5b72f2ba4ea130f4461e318a3838 (patch) | |
tree | ef93805e4321adf8f3994e749894ab3451e7cab4 /arch/ia64/hp/sim/simscsi.c | |
parent | 8b713c67bccef7cabb0ee915f47eb33d82636af9 (diff) |
[IA64] Cleanup HPSIM code (was: Re: Enable early console for Ski simulator)
After my last patch we have a new header file for HP simulator use.
Here's code to use it for stuff that used to have `extern' statements
inline in the code. Functionality should not change with this patch.
Signed-off-by: Peter Chubb <peterc@gelato.unsw.edu.au>
Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'arch/ia64/hp/sim/simscsi.c')
-rw-r--r-- | arch/ia64/hp/sim/simscsi.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/ia64/hp/sim/simscsi.c b/arch/ia64/hp/sim/simscsi.c index e62694f8ef75..4552a1cf5b33 100644 --- a/arch/ia64/hp/sim/simscsi.c +++ b/arch/ia64/hp/sim/simscsi.c | |||
@@ -14,6 +14,7 @@ | |||
14 | #include <linux/kernel.h> | 14 | #include <linux/kernel.h> |
15 | #include <linux/timer.h> | 15 | #include <linux/timer.h> |
16 | #include <asm/irq.h> | 16 | #include <asm/irq.h> |
17 | #include "hpsim_ssc.h" | ||
17 | 18 | ||
18 | #include <scsi/scsi.h> | 19 | #include <scsi/scsi.h> |
19 | #include <scsi/scsi_cmnd.h> | 20 | #include <scsi/scsi_cmnd.h> |
@@ -59,8 +60,6 @@ struct disk_stat { | |||
59 | unsigned count; | 60 | unsigned count; |
60 | }; | 61 | }; |
61 | 62 | ||
62 | extern long ia64_ssc (long arg0, long arg1, long arg2, long arg3, int nr); | ||
63 | |||
64 | static int desc[16] = { | 63 | static int desc[16] = { |
65 | -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1 | 64 | -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1 |
66 | }; | 65 | }; |