diff options
author | Jan Beulich <jbeulich@novell.com> | 2009-05-05 08:57:52 -0400 |
---|---|---|
committer | Tony Luck <tony.luck@intel.com> | 2009-05-05 14:43:13 -0400 |
commit | 0692698cb7369ea1ce74f3f87f70baf5072f8a37 (patch) | |
tree | 086afdae8fd416fca8fec1d8288dfe7bfe97706e /arch | |
parent | f328ddc154605be11c4ca38fee6ace8adb140087 (diff) |
[IA64] xen_domu_defconfig: fix build issues/warnings
- drivers/xen/events.c did not compile
- xen_setup_hook caused a modpost section warning
- the use of u64 (instead of unsigned long long) together with a %llu
in drivers/xen/balloon.c caused a compiler warning
Signed-off-by: Jan Beulich <jbeulich@novell.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/ia64/include/asm/idle.h | 7 | ||||
-rw-r--r-- | arch/ia64/include/asm/xen/events.h | 7 | ||||
-rw-r--r-- | arch/ia64/xen/xensetup.S | 2 |
3 files changed, 8 insertions, 8 deletions
diff --git a/arch/ia64/include/asm/idle.h b/arch/ia64/include/asm/idle.h new file mode 100644 index 000000000000..b7685015a8ba --- /dev/null +++ b/arch/ia64/include/asm/idle.h | |||
@@ -0,0 +1,7 @@ | |||
1 | #ifndef _ASM_IA64_IDLE_H | ||
2 | #define _ASM_IA64_IDLE_H | ||
3 | |||
4 | static inline void enter_idle(void) { } | ||
5 | static inline void exit_idle(void) { } | ||
6 | |||
7 | #endif /* _ASM_IA64_IDLE_H */ | ||
diff --git a/arch/ia64/include/asm/xen/events.h b/arch/ia64/include/asm/xen/events.h index 73248781fba8..b8370c8b6198 100644 --- a/arch/ia64/include/asm/xen/events.h +++ b/arch/ia64/include/asm/xen/events.h | |||
@@ -36,14 +36,9 @@ static inline int xen_irqs_disabled(struct pt_regs *regs) | |||
36 | return !(ia64_psr(regs)->i); | 36 | return !(ia64_psr(regs)->i); |
37 | } | 37 | } |
38 | 38 | ||
39 | static inline void xen_do_IRQ(int irq, struct pt_regs *regs) | 39 | static inline void handle_irq(int irq, struct pt_regs *regs) |
40 | { | 40 | { |
41 | struct pt_regs *old_regs; | ||
42 | old_regs = set_irq_regs(regs); | ||
43 | irq_enter(); | ||
44 | __do_IRQ(irq); | 41 | __do_IRQ(irq); |
45 | irq_exit(); | ||
46 | set_irq_regs(old_regs); | ||
47 | } | 42 | } |
48 | #define irq_ctx_init(cpu) do { } while (0) | 43 | #define irq_ctx_init(cpu) do { } while (0) |
49 | 44 | ||
diff --git a/arch/ia64/xen/xensetup.S b/arch/ia64/xen/xensetup.S index 28fed1fcc079..aff8346ea193 100644 --- a/arch/ia64/xen/xensetup.S +++ b/arch/ia64/xen/xensetup.S | |||
@@ -54,8 +54,6 @@ END(startup_xen) | |||
54 | 54 | ||
55 | #define isBP p3 // are we the Bootstrap Processor? | 55 | #define isBP p3 // are we the Bootstrap Processor? |
56 | 56 | ||
57 | .text | ||
58 | |||
59 | GLOBAL_ENTRY(xen_setup_hook) | 57 | GLOBAL_ENTRY(xen_setup_hook) |
60 | mov r8=XEN_PV_DOMAIN_ASM | 58 | mov r8=XEN_PV_DOMAIN_ASM |
61 | (isBP) movl r9=xen_domain_type;; | 59 | (isBP) movl r9=xen_domain_type;; |