aboutsummaryrefslogtreecommitdiffstats
path: root/arch/ia64/kernel/patch.c
diff options
context:
space:
mode:
authorIsaku Yamahata <yamahata@valinux.co.jp>2009-03-27 02:11:57 -0400
committerTony Luck <tony.luck@intel.com>2009-03-27 14:11:04 -0400
commit7120569c76028a6883697b7643564f0c419cfe07 (patch)
tree625bb217be00a2673b6f210a34352fdc3ddecc69 /arch/ia64/kernel/patch.c
parentb46a0b08b8bdf6467cd2b49f520e100c72885302 (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/kernel/patch.c')
-rw-r--r--arch/ia64/kernel/patch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/ia64/kernel/patch.c b/arch/ia64/kernel/patch.c
index 64c6f95daa34..68a1311db806 100644
--- a/arch/ia64/kernel/patch.c
+++ b/arch/ia64/kernel/patch.c
@@ -249,7 +249,7 @@ void ia64_patch_phys_stack_reg(unsigned long val)
249 while (offp < end) { 249 while (offp < end) {
250 ip = (u64) offp + *offp; 250 ip = (u64) offp + *offp;
251 ia64_patch(ip, mask, imm); 251 ia64_patch(ip, mask, imm);
252 ia64_fc(ip); 252 ia64_fc((void *)ip);
253 ++offp; 253 ++offp;
254 } 254 }
255 ia64_sync_i(); 255 ia64_sync_i();