Merge git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc-merge
This commit is contained in:
@ -552,30 +552,6 @@ asmlinkage long compat_sys_sched_rr_get_interval(u32 pid, struct compat_timespec
|
||||
return ret;
|
||||
}
|
||||
|
||||
asmlinkage int compat_sys_pciconfig_read(u32 bus, u32 dfn, u32 off, u32 len, u32 ubuf)
|
||||
{
|
||||
return sys_pciconfig_read((unsigned long) bus,
|
||||
(unsigned long) dfn,
|
||||
(unsigned long) off,
|
||||
(unsigned long) len,
|
||||
compat_ptr(ubuf));
|
||||
}
|
||||
|
||||
asmlinkage int compat_sys_pciconfig_write(u32 bus, u32 dfn, u32 off, u32 len, u32 ubuf)
|
||||
{
|
||||
return sys_pciconfig_write((unsigned long) bus,
|
||||
(unsigned long) dfn,
|
||||
(unsigned long) off,
|
||||
(unsigned long) len,
|
||||
compat_ptr(ubuf));
|
||||
}
|
||||
|
||||
asmlinkage int compat_sys_pciconfig_iobase(u32 which, u32 in_bus, u32 in_devfn)
|
||||
{
|
||||
return sys_pciconfig_iobase(which, in_bus, in_devfn);
|
||||
}
|
||||
|
||||
|
||||
/* Note: it is necessary to treat mode as an unsigned int,
|
||||
* with the corresponding cast to a signed int to insure that the
|
||||
* proper conversion (sign extension) between the register representation of a signed int (msr in 32-bit mode)
|
||||
|
Reference in New Issue
Block a user