diff options
| author | vboxsync <vboxsync@cfe28804-0f27-0410-a406-dd0f0b0b656f> | 2008-11-05 14:14:11 +0000 |
|---|---|---|
| committer | vboxsync <vboxsync@cfe28804-0f27-0410-a406-dd0f0b0b656f> | 2008-11-05 14:14:11 +0000 |
| commit | 246c8ad3f6266d465f90e96f110b3eec77cf829b (patch) | |
| tree | 4d17cae4bd563313c24f1bff1635c4a335a85daa /src/VBox/HostDrivers/Support/linux/SUPLib-linux.cpp | |
| parent | f20c8b02a2767328e0995e50a8cffcca4e6064ad (diff) | |
| download | VirtualBox-svn-246c8ad3f6266d465f90e96f110b3eec77cf829b.tar.gz | |
SUP: pass idCpu up on all platforms (save OS/2), handle it in ring-0 on solaris, linux and freebsd.
git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@13865 cfe28804-0f27-0410-a406-dd0f0b0b656f
Diffstat (limited to 'src/VBox/HostDrivers/Support/linux/SUPLib-linux.cpp')
| -rw-r--r-- | src/VBox/HostDrivers/Support/linux/SUPLib-linux.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/VBox/HostDrivers/Support/linux/SUPLib-linux.cpp b/src/VBox/HostDrivers/Support/linux/SUPLib-linux.cpp index 6772c7f1ab6..84f4c36d46b 100644 --- a/src/VBox/HostDrivers/Support/linux/SUPLib-linux.cpp +++ b/src/VBox/HostDrivers/Support/linux/SUPLib-linux.cpp @@ -201,9 +201,9 @@ int suplibOsIOCtl(PSUPLIBDATA pThis, uintptr_t uFunction, void *pvReq, size_t cb } -int suplibOsIOCtlFast(PSUPLIBDATA pThis, uintptr_t uFunction, unsigned idCpu) +int suplibOsIOCtlFast(PSUPLIBDATA pThis, uintptr_t uFunction, uintptr_t idCpu) { - int rc = ioctl(pThis->hDevice, uFunction, NULL); + int rc = ioctl(pThis->hDevice, uFunction, idCpu); if (rc == -1) rc = -errno; return rc; |
