Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6

* 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6:
  [IA64] xen_domu_defconfig: fix build issues/warnings
This commit is contained in:
Linus Torvalds 2009-05-05 15:48:03 -07:00
commit 899ad580fe
4 changed files with 10 additions and 9 deletions

View File

@ -0,0 +1,7 @@
#ifndef _ASM_IA64_IDLE_H
#define _ASM_IA64_IDLE_H
static inline void enter_idle(void) { }
static inline void exit_idle(void) { }
#endif /* _ASM_IA64_IDLE_H */

View File

@ -36,14 +36,9 @@ static inline int xen_irqs_disabled(struct pt_regs *regs)
return !(ia64_psr(regs)->i); return !(ia64_psr(regs)->i);
} }
static inline void xen_do_IRQ(int irq, struct pt_regs *regs) static inline void handle_irq(int irq, struct pt_regs *regs)
{ {
struct pt_regs *old_regs;
old_regs = set_irq_regs(regs);
irq_enter();
__do_IRQ(irq); __do_IRQ(irq);
irq_exit();
set_irq_regs(old_regs);
} }
#define irq_ctx_init(cpu) do { } while (0) #define irq_ctx_init(cpu) do { } while (0)

View File

@ -54,8 +54,6 @@ END(startup_xen)
#define isBP p3 // are we the Bootstrap Processor? #define isBP p3 // are we the Bootstrap Processor?
.text
GLOBAL_ENTRY(xen_setup_hook) GLOBAL_ENTRY(xen_setup_hook)
mov r8=XEN_PV_DOMAIN_ASM mov r8=XEN_PV_DOMAIN_ASM
(isBP) movl r9=xen_domain_type;; (isBP) movl r9=xen_domain_type;;

View File

@ -513,7 +513,8 @@ static ssize_t show_target(struct sys_device *dev, struct sysdev_attribute *attr
char *buf) char *buf)
{ {
return sprintf(buf, "%llu\n", return sprintf(buf, "%llu\n",
(u64)balloon_stats.target_pages << PAGE_SHIFT); (unsigned long long)balloon_stats.target_pages
<< PAGE_SHIFT);
} }
static ssize_t store_target(struct sys_device *dev, static ssize_t store_target(struct sys_device *dev,