Commit a4946826 authored by Linus Torvalds's avatar Linus Torvalds

Fix pci config syscall definitions.

Including the proper header file showed that they didn't
match the declared prototypes.
parent c1e08b84
......@@ -17,7 +17,8 @@
asmlinkage long
sys_pciconfig_read(unsigned long bus, unsigned long dfn,
unsigned long off, unsigned long len, void *buf)
unsigned long off, unsigned long len,
void __user *buf)
{
struct pci_dev *dev;
u8 byte;
......@@ -89,7 +90,8 @@ sys_pciconfig_read(unsigned long bus, unsigned long dfn,
asmlinkage long
sys_pciconfig_write(unsigned long bus, unsigned long dfn,
unsigned long off, unsigned long len, void *buf)
unsigned long off, unsigned long len,
void __user *buf)
{
struct pci_dev *dev;
u8 byte;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment