diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2006-10-01 02:27:37 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-01 03:39:21 -0400 |
commit | c53421b18f205c5f97c604ae55c6a921f034b0f6 (patch) | |
tree | 375e5196d5649714737132ac287b12c1ac7091ec /arch/ia64 | |
parent | f5579f8c7d7e2c9eb62b566c511b21091a778157 (diff) |
[PATCH] proper flags type of spin_lock_irqsave()
Convert various spin_lock_irqsave() callers to correctly use `unsigned long'.
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Cc: Miles Bader <uclinux-v850@lsi.nec.co.jp>
Cc: "Luck, Tony" <tony.luck@intel.com>
Acked-by: Kyle McMartin <kyle@mcmartin.ca>
Cc: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/ia64')
-rw-r--r-- | arch/ia64/kernel/mca.c | 2 | ||||
-rw-r--r-- | arch/ia64/sn/pci/pcibr/pcibr_ate.c | 2 | ||||
-rw-r--r-- | arch/ia64/sn/pci/pcibr/pcibr_dma.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/arch/ia64/kernel/mca.c b/arch/ia64/kernel/mca.c index bfbd8986153b..663230183254 100644 --- a/arch/ia64/kernel/mca.c +++ b/arch/ia64/kernel/mca.c | |||
@@ -388,7 +388,7 @@ ia64_log_get(int sal_info_type, u8 **buffer, int irq_safe) | |||
388 | { | 388 | { |
389 | sal_log_record_header_t *log_buffer; | 389 | sal_log_record_header_t *log_buffer; |
390 | u64 total_len = 0; | 390 | u64 total_len = 0; |
391 | int s; | 391 | unsigned long s; |
392 | 392 | ||
393 | IA64_LOG_LOCK(sal_info_type); | 393 | IA64_LOG_LOCK(sal_info_type); |
394 | 394 | ||
diff --git a/arch/ia64/sn/pci/pcibr/pcibr_ate.c b/arch/ia64/sn/pci/pcibr/pcibr_ate.c index 1f0253bfe0a0..5eb1e1e078b4 100644 --- a/arch/ia64/sn/pci/pcibr/pcibr_ate.c +++ b/arch/ia64/sn/pci/pcibr/pcibr_ate.c | |||
@@ -160,7 +160,7 @@ void pcibr_ate_free(struct pcibus_info *pcibus_info, int index) | |||
160 | 160 | ||
161 | volatile u64 ate; | 161 | volatile u64 ate; |
162 | int count; | 162 | int count; |
163 | u64 flags; | 163 | unsigned long flags; |
164 | 164 | ||
165 | if (pcibr_invalidate_ate) { | 165 | if (pcibr_invalidate_ate) { |
166 | /* For debugging purposes, clear the valid bit in the ATE */ | 166 | /* For debugging purposes, clear the valid bit in the ATE */ |
diff --git a/arch/ia64/sn/pci/pcibr/pcibr_dma.c b/arch/ia64/sn/pci/pcibr/pcibr_dma.c index a86c7b945962..1ee977fb6ebb 100644 --- a/arch/ia64/sn/pci/pcibr/pcibr_dma.c +++ b/arch/ia64/sn/pci/pcibr/pcibr_dma.c | |||
@@ -237,7 +237,7 @@ void sn_dma_flush(u64 addr) | |||
237 | int is_tio; | 237 | int is_tio; |
238 | int wid_num; | 238 | int wid_num; |
239 | int i, j; | 239 | int i, j; |
240 | u64 flags; | 240 | unsigned long flags; |
241 | u64 itte; | 241 | u64 itte; |
242 | struct hubdev_info *hubinfo; | 242 | struct hubdev_info *hubinfo; |
243 | struct sn_flush_device_kernel *p; | 243 | struct sn_flush_device_kernel *p; |