mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-26 06:33:19 -04:00
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] Count resched interrupts [IA64] remove unused acpi_kbd_controller_present, acpi_legacy_devices [IA64] update sn2_defconfig [IA64] reformat pal.S to fit in 80 columns, fix typos [IA64] remove unused PAL_CALL_IC_OFF [IA64] - Allow IPIs in timer loop [IA64] move ioremap/ioremap_nocache under __KERNEL__ [IA64] perfmon fix for global IRQ fix
This commit is contained in:
commit
3bee9df0ab
9 changed files with 232 additions and 110 deletions
|
|
@ -417,6 +417,8 @@ __writeq (unsigned long val, volatile void __iomem *addr)
|
|||
# define outl_p outl
|
||||
#endif
|
||||
|
||||
# ifdef __KERNEL__
|
||||
|
||||
extern void __iomem * ioremap(unsigned long offset, unsigned long size);
|
||||
extern void __iomem * ioremap_nocache (unsigned long offset, unsigned long size);
|
||||
|
||||
|
|
@ -430,8 +432,6 @@ iounmap (volatile void __iomem *addr)
|
|||
#define dmi_iounmap(x,l) iounmap(x)
|
||||
#define dmi_alloc(l) kmalloc(l, GFP_ATOMIC)
|
||||
|
||||
# ifdef __KERNEL__
|
||||
|
||||
/*
|
||||
* String version of IO memory access ops:
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -764,7 +764,7 @@ struct ia64_pal_retval {
|
|||
* (generally 0) MUST be passed. Reserved parameters are not optional
|
||||
* parameters.
|
||||
*/
|
||||
extern struct ia64_pal_retval ia64_pal_call_static (u64, u64, u64, u64, u64);
|
||||
extern struct ia64_pal_retval ia64_pal_call_static (u64, u64, u64, u64);
|
||||
extern struct ia64_pal_retval ia64_pal_call_stacked (u64, u64, u64, u64);
|
||||
extern struct ia64_pal_retval ia64_pal_call_phys_static (u64, u64, u64, u64);
|
||||
extern struct ia64_pal_retval ia64_pal_call_phys_stacked (u64, u64, u64, u64);
|
||||
|
|
@ -774,14 +774,7 @@ extern void ia64_load_scratch_fpregs (struct ia64_fpreg *);
|
|||
#define PAL_CALL(iprv,a0,a1,a2,a3) do { \
|
||||
struct ia64_fpreg fr[6]; \
|
||||
ia64_save_scratch_fpregs(fr); \
|
||||
iprv = ia64_pal_call_static(a0, a1, a2, a3, 0); \
|
||||
ia64_load_scratch_fpregs(fr); \
|
||||
} while (0)
|
||||
|
||||
#define PAL_CALL_IC_OFF(iprv,a0,a1,a2,a3) do { \
|
||||
struct ia64_fpreg fr[6]; \
|
||||
ia64_save_scratch_fpregs(fr); \
|
||||
iprv = ia64_pal_call_static(a0, a1, a2, a3, 1); \
|
||||
iprv = ia64_pal_call_static(a0, a1, a2, a3); \
|
||||
ia64_load_scratch_fpregs(fr); \
|
||||
} while (0)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue