mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
Merge branch 'linux-2.6' into for-2.6.22
This commit is contained in:
commit
e049d1ca30
921 changed files with 9594 additions and 9659 deletions
|
|
@ -178,7 +178,7 @@ static struct fd_dma_ops virt_dma_ops =
|
|||
._dma_setup = vdma_dma_setup
|
||||
};
|
||||
|
||||
static int fd_request_dma()
|
||||
static int fd_request_dma(void)
|
||||
{
|
||||
if (can_use_virtual_dma & 1) {
|
||||
fd_ops = &virt_dma_ops;
|
||||
|
|
|
|||
|
|
@ -236,6 +236,20 @@ long plpar_hcall_norets(unsigned long opcode, ...);
|
|||
#define PLPAR_HCALL_BUFSIZE 4
|
||||
long plpar_hcall(unsigned long opcode, unsigned long *retbuf, ...);
|
||||
|
||||
/**
|
||||
* plpar_hcall_raw: - Make a hypervisor call without calculating hcall stats
|
||||
* @opcode: The hypervisor call to make.
|
||||
* @retbuf: Buffer to store up to 4 return arguments in.
|
||||
*
|
||||
* This call supports up to 6 arguments and 4 return arguments. Use
|
||||
* PLPAR_HCALL_BUFSIZE to size the return argument buffer.
|
||||
*
|
||||
* Used when phyp interface needs to be called in real mode. Similar to
|
||||
* plpar_hcall, but plpar_hcall_raw works in real mode and does not
|
||||
* calculate hypervisor call statistics.
|
||||
*/
|
||||
long plpar_hcall_raw(unsigned long opcode, unsigned long *retbuf, ...);
|
||||
|
||||
/**
|
||||
* plpar_hcall9: - Make a pseries hypervisor call with up to 9 return arguments
|
||||
* @opcode: The hypervisor call to make.
|
||||
|
|
|
|||
|
|
@ -258,8 +258,9 @@ struct ucc_slow {
|
|||
u8 uccs; /* UCCx status register */
|
||||
u8 res3[0x24];
|
||||
__be16 utpt;
|
||||
u8 res4[0x52];
|
||||
u8 guemr; /* UCC general extended mode register */
|
||||
u8 res4[0x200 - 0x091];
|
||||
u8 res5[0x200 - 0x091];
|
||||
} __attribute__ ((packed));
|
||||
|
||||
/* QE UCC Fast */
|
||||
|
|
|
|||
|
|
@ -165,6 +165,13 @@ int spu_irq_class_0_bottom(struct spu *spu);
|
|||
int spu_irq_class_1_bottom(struct spu *spu);
|
||||
void spu_irq_setaffinity(struct spu *spu, int cpu);
|
||||
|
||||
extern void spu_invalidate_slbs(struct spu *spu);
|
||||
extern void spu_associate_mm(struct spu *spu, struct mm_struct *mm);
|
||||
|
||||
/* Calls from the memory management to the SPU */
|
||||
struct mm_struct;
|
||||
extern void spu_flush_all_slbs(struct mm_struct *mm);
|
||||
|
||||
/* system callbacks from the SPU */
|
||||
struct spu_syscall_block {
|
||||
u64 nr_ret;
|
||||
|
|
|
|||
|
|
@ -221,8 +221,6 @@ struct spu_priv2_collapsed {
|
|||
* @spu_chnlcnt_RW: Array of saved channel counts.
|
||||
* @spu_chnldata_RW: Array of saved channel data.
|
||||
* @suspend_time: Time stamp when decrementer disabled.
|
||||
* @slb_esid_RW: Array of saved SLB esid entries.
|
||||
* @slb_vsid_RW: Array of saved SLB vsid entries.
|
||||
*
|
||||
* Structure representing the whole of the SPU
|
||||
* context save area (CSA). This struct contains
|
||||
|
|
@ -245,8 +243,6 @@ struct spu_state {
|
|||
u32 spu_mailbox_data[4];
|
||||
u32 pu_mailbox_data[1];
|
||||
unsigned long suspend_time;
|
||||
u64 slb_esid_RW[8];
|
||||
u64 slb_vsid_RW[8];
|
||||
spinlock_t register_lock;
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -304,5 +304,6 @@ SYSCALL_SPU(fchmodat)
|
|||
SYSCALL_SPU(faccessat)
|
||||
COMPAT_SYS_SPU(get_robust_list)
|
||||
COMPAT_SYS_SPU(set_robust_list)
|
||||
COMPAT_SYS(move_pages)
|
||||
COMPAT_SYS_SPU(move_pages)
|
||||
SYSCALL_SPU(getcpu)
|
||||
COMPAT_SYS(epoll_pwait)
|
||||
|
|
|
|||
|
|
@ -325,10 +325,11 @@
|
|||
#define __NR_set_robust_list 300
|
||||
#define __NR_move_pages 301
|
||||
#define __NR_getcpu 302
|
||||
#define __NR_epoll_pwait 303
|
||||
|
||||
#ifdef __KERNEL__
|
||||
|
||||
#define __NR_syscalls 303
|
||||
#define __NR_syscalls 304
|
||||
|
||||
#define __NR__exit __NR_exit
|
||||
#define NR_syscalls __NR_syscalls
|
||||
|
|
|
|||
Loading…
Reference in a new issue