diff options
author | Isaku Yamahata <yamahata@valinux.co.jp> | 2009-03-27 02:11:57 -0400 |
---|---|---|
committer | Tony Luck <tony.luck@intel.com> | 2009-03-27 14:11:04 -0400 |
commit | 7120569c76028a6883697b7643564f0c419cfe07 (patch) | |
tree | 625bb217be00a2673b6f210a34352fdc3ddecc69 /arch/ia64/kvm | |
parent | b46a0b08b8bdf6467cd2b49f520e100c72885302 (diff) |
ia64: remove some warnings.
This patch removes the following warnings and related ones.
Plus some cosmetics.
arch/ia64/kernel/patch.c:112: warning: passing argument 1 of 'paravirt_fc' makes integer from pointer without a cast
arch/ia64/kernel/patch.c:135: warning: passing argument 1 of 'paravirt_fc' makes integer from pointer without a cast
arch/ia64/kernel/patch.c:166: warning: passing argument 1 of 'paravirt_fc' makes integer from pointer without a cast
arch/ia64/kernel/patch.c:202: warning: passing argument 1 of 'paravirt_fc' makes integer from pointer without a cast
arch/ia64/kernel/patch.c:220: warning: passing argument 1 of 'paravirt_fc' makes integer from pointer without a cast
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'arch/ia64/kvm')
-rw-r--r-- | arch/ia64/kvm/kvm-ia64.c | 2 | ||||
-rw-r--r-- | arch/ia64/kvm/vcpu.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/ia64/kvm/kvm-ia64.c b/arch/ia64/kvm/kvm-ia64.c index 28f982045f29..0344c6664485 100644 --- a/arch/ia64/kvm/kvm-ia64.c +++ b/arch/ia64/kvm/kvm-ia64.c | |||
@@ -70,7 +70,7 @@ static void kvm_flush_icache(unsigned long start, unsigned long len) | |||
70 | int l; | 70 | int l; |
71 | 71 | ||
72 | for (l = 0; l < (len + 32); l += 32) | 72 | for (l = 0; l < (len + 32); l += 32) |
73 | ia64_fc(start + l); | 73 | ia64_fc((void *)(start + l)); |
74 | 74 | ||
75 | ia64_sync_i(); | 75 | ia64_sync_i(); |
76 | ia64_srlz_i(); | 76 | ia64_srlz_i(); |
diff --git a/arch/ia64/kvm/vcpu.c b/arch/ia64/kvm/vcpu.c index ecd526b55323..6839a52f7a41 100644 --- a/arch/ia64/kvm/vcpu.c +++ b/arch/ia64/kvm/vcpu.c | |||
@@ -390,7 +390,7 @@ void set_rse_reg(struct kvm_pt_regs *regs, unsigned long r1, | |||
390 | else | 390 | else |
391 | *rnat_addr = (*rnat_addr) & (~nat_mask); | 391 | *rnat_addr = (*rnat_addr) & (~nat_mask); |
392 | 392 | ||
393 | ia64_setreg(_IA64_REG_AR_BSPSTORE, bspstore); | 393 | ia64_setreg(_IA64_REG_AR_BSPSTORE, (unsigned long)bspstore); |
394 | ia64_setreg(_IA64_REG_AR_RNAT, rnat); | 394 | ia64_setreg(_IA64_REG_AR_RNAT, rnat); |
395 | } | 395 | } |
396 | local_irq_restore(psr); | 396 | local_irq_restore(psr); |