[arch-commits] Commit in nvidia-304xx-lts/repos (12 files)
Bartłomiej Piotrowski
bpiotrowski at nymeria.archlinux.org
Sun Oct 6 11:11:23 UTC 2013
Date: Sunday, October 6, 2013 @ 13:11:23
Author: bpiotrowski
Revision: 195956
archrelease: copy trunk to testing-i686, testing-x86_64
Added:
nvidia-304xx-lts/repos/testing-i686/PKGBUILD
(from rev 195955, nvidia-304xx-lts/trunk/PKGBUILD)
nvidia-304xx-lts/repos/testing-i686/nvidia-304xx-lts.install
(from rev 195955, nvidia-304xx-lts/trunk/nvidia-304xx-lts.install)
nvidia-304xx-lts/repos/testing-i686/nvidia-linux-3.11.patch
(from rev 195955, nvidia-304xx-lts/trunk/nvidia-linux-3.11.patch)
nvidia-304xx-lts/repos/testing-x86_64/PKGBUILD
(from rev 195955, nvidia-304xx-lts/trunk/PKGBUILD)
nvidia-304xx-lts/repos/testing-x86_64/nvidia-304xx-lts.install
(from rev 195955, nvidia-304xx-lts/trunk/nvidia-304xx-lts.install)
nvidia-304xx-lts/repos/testing-x86_64/nvidia-linux-3.11.patch
(from rev 195955, nvidia-304xx-lts/trunk/nvidia-linux-3.11.patch)
Deleted:
nvidia-304xx-lts/repos/testing-i686/PKGBUILD
nvidia-304xx-lts/repos/testing-i686/nvidia-304xx-lts.install
nvidia-304xx-lts/repos/testing-i686/nvidia-linux-3.11.patch
nvidia-304xx-lts/repos/testing-x86_64/PKGBUILD
nvidia-304xx-lts/repos/testing-x86_64/nvidia-304xx-lts.install
nvidia-304xx-lts/repos/testing-x86_64/nvidia-linux-3.11.patch
-----------------------------------------+
/PKGBUILD | 100 ++++++++++++++++++++++++++++++
/nvidia-304xx-lts.install | 30 +++++++++
/nvidia-linux-3.11.patch | 50 +++++++++++++++
testing-i686/PKGBUILD | 50 ---------------
testing-i686/nvidia-304xx-lts.install | 15 ----
testing-i686/nvidia-linux-3.11.patch | 25 -------
testing-x86_64/PKGBUILD | 50 ---------------
testing-x86_64/nvidia-304xx-lts.install | 15 ----
testing-x86_64/nvidia-linux-3.11.patch | 25 -------
9 files changed, 180 insertions(+), 180 deletions(-)
Deleted: testing-i686/PKGBUILD
===================================================================
--- testing-i686/PKGBUILD 2013-10-06 11:11:09 UTC (rev 195955)
+++ testing-i686/PKGBUILD 2013-10-06 11:11:23 UTC (rev 195956)
@@ -1,50 +0,0 @@
-# $Id$
-# Maintainer: Andreas Radke <andyrtr at archlinux.org>
-
-pkgname=nvidia-304xx-lts
-pkgver=304.108
-_extramodules=extramodules-3.10-lts
-pkgrel=4
-pkgdesc="NVIDIA drivers for linux-lts, 304xx legacy branch"
-arch=('i686' 'x86_64')
-url="http://www.nvidia.com/"
-depends=('linux-lts>=3.10.14' "nvidia-304xx-utils=${pkgver}")
-makedepends=('linux-lts-headers>=3.10.14')
-conflicts=('nvidia-lts' 'nvidia-96xx-lts' 'nvidia-173xx-lts')
-provides=('nvidia-304xx')
-license=('custom')
-install=nvidia-304xx-lts.install
-options=(!strip)
-source=('nvidia-linux-3.11.patch')
-md5sums=('5c962760de069ed4ad34e64d5988686a')
-
-if [ "$CARCH" = "i686" ]; then
- _arch='x86'
- _pkg="NVIDIA-Linux-${_arch}-${pkgver}"
- source+=("ftp://download.nvidia.com/XFree86/Linux-${_arch}/${pkgver}/${_pkg}.run")
- md5sums+=('ef453e32515c2176c67ebd95c770dc0e')
-elif [ "$CARCH" = "x86_64" ]; then
- _arch='x86_64'
- _pkg="NVIDIA-Linux-${_arch}-${pkgver}-no-compat32"
- source+=("ftp://download.nvidia.com/XFree86/Linux-${_arch}/${pkgver}/${_pkg}.run")
- md5sums+=('4e0e54de6735023f44c858a3006b3e18')
-fi
-
-build() {
- _kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
- cd "${srcdir}"
- sh "${_pkg}.run" --extract-only
- cd "${_pkg}/kernel"
- patch -Np2 -i ${srcdir}/nvidia-linux-3.11.patch
- make SYSSRC=/usr/lib/modules/"${_kernver}/build" module
-}
-
-package() {
- install -D -m644 "${srcdir}/${_pkg}/kernel/nvidia.ko" \
- "${pkgdir}/usr/lib/modules/${_extramodules}/nvidia.ko"
- install -d -m755 "${pkgdir}/usr/lib/modprobe.d"
- echo "blacklist nouveau" >> "${pkgdir}/usr/lib/modprobe.d/nvidia-304xx-lts.conf"
- echo "blacklist nvidiafb" >> "${pkgdir}/usr/lib/modprobe.d/nvidia-304xx-lts.conf"
- gzip "${pkgdir}/usr/lib/modules/${_extramodules}/nvidia.ko"
- install -D -m644 ${srcdir}/${_pkg}/LICENSE "${pkgdir}/usr/share/licenses/nvidia-304xx-lts/LICENSE"
-}
Copied: nvidia-304xx-lts/repos/testing-i686/PKGBUILD (from rev 195955, nvidia-304xx-lts/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD (rev 0)
+++ testing-i686/PKGBUILD 2013-10-06 11:11:23 UTC (rev 195956)
@@ -0,0 +1,50 @@
+# $Id$
+# Maintainer: Andreas Radke <andyrtr at archlinux.org>
+
+pkgname=nvidia-304xx-lts
+pkgver=304.108
+_extramodules=extramodules-3.10-lts
+pkgrel=5
+pkgdesc="NVIDIA drivers for linux-lts, 304xx legacy branch"
+arch=('i686' 'x86_64')
+url="http://www.nvidia.com/"
+depends=('linux-lts>=3.10.14' "nvidia-304xx-utils=${pkgver}")
+makedepends=('linux-lts-headers>=3.10.14')
+conflicts=('nvidia-lts' 'nvidia-96xx-lts' 'nvidia-173xx-lts')
+provides=('nvidia-304xx')
+license=('custom')
+install=nvidia-304xx-lts.install
+options=(!strip)
+source=('nvidia-linux-3.11.patch')
+md5sums=('5c962760de069ed4ad34e64d5988686a')
+
+if [ "$CARCH" = "i686" ]; then
+ _arch='x86'
+ _pkg="NVIDIA-Linux-${_arch}-${pkgver}"
+ source+=("ftp://download.nvidia.com/XFree86/Linux-${_arch}/${pkgver}/${_pkg}.run")
+ md5sums+=('ef453e32515c2176c67ebd95c770dc0e')
+elif [ "$CARCH" = "x86_64" ]; then
+ _arch='x86_64'
+ _pkg="NVIDIA-Linux-${_arch}-${pkgver}-no-compat32"
+ source+=("ftp://download.nvidia.com/XFree86/Linux-${_arch}/${pkgver}/${_pkg}.run")
+ md5sums+=('4e0e54de6735023f44c858a3006b3e18')
+fi
+
+build() {
+ _kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
+ cd "${srcdir}"
+ sh "${_pkg}.run" --extract-only
+ cd "${_pkg}/kernel"
+ patch -Np2 -i ${srcdir}/nvidia-linux-3.11.patch
+ make SYSSRC=/usr/lib/modules/"${_kernver}/build" module
+}
+
+package() {
+ install -D -m644 "${srcdir}/${_pkg}/kernel/nvidia.ko" \
+ "${pkgdir}/usr/lib/modules/${_extramodules}/nvidia.ko"
+ install -d -m755 "${pkgdir}/usr/lib/modprobe.d"
+ echo "blacklist nouveau" >> "${pkgdir}/usr/lib/modprobe.d/nvidia-304xx-lts.conf"
+ echo "blacklist nvidiafb" >> "${pkgdir}/usr/lib/modprobe.d/nvidia-304xx-lts.conf"
+ gzip "${pkgdir}/usr/lib/modules/${_extramodules}/nvidia.ko"
+ install -D -m644 ${srcdir}/${_pkg}/LICENSE "${pkgdir}/usr/share/licenses/nvidia-304xx-lts/LICENSE"
+}
Deleted: testing-i686/nvidia-304xx-lts.install
===================================================================
--- testing-i686/nvidia-304xx-lts.install 2013-10-06 11:11:09 UTC (rev 195955)
+++ testing-i686/nvidia-304xx-lts.install 2013-10-06 11:11:23 UTC (rev 195956)
@@ -1,15 +0,0 @@
-post_install() {
- EXTRAMODULES='extramodules-3.10-lts'
- depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
- echo 'In order to use nvidia module, reboot the system.'
-}
-
-post_upgrade() {
- EXTRAMODULES='extramodules-3.10-lts'
- depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
-}
-
-post_remove() {
- EXTRAMODULES='extramodules-3.10-lts'
- depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
-}
Copied: nvidia-304xx-lts/repos/testing-i686/nvidia-304xx-lts.install (from rev 195955, nvidia-304xx-lts/trunk/nvidia-304xx-lts.install)
===================================================================
--- testing-i686/nvidia-304xx-lts.install (rev 0)
+++ testing-i686/nvidia-304xx-lts.install 2013-10-06 11:11:23 UTC (rev 195956)
@@ -0,0 +1,15 @@
+post_install() {
+ EXTRAMODULES='extramodules-3.10-lts'
+ depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+ echo 'In order to use nvidia module, reboot the system.'
+}
+
+post_upgrade() {
+ EXTRAMODULES='extramodules-3.10-lts'
+ depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+}
+
+post_remove() {
+ EXTRAMODULES='extramodules-3.10-lts'
+ depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+}
Deleted: testing-i686/nvidia-linux-3.11.patch
===================================================================
--- testing-i686/nvidia-linux-3.11.patch 2013-10-06 11:11:09 UTC (rev 195955)
+++ testing-i686/nvidia-linux-3.11.patch 2013-10-06 11:11:23 UTC (rev 195956)
@@ -1,25 +0,0 @@
-From 8a8647ad942c8ac5161e1335f7f3e9dbb34dbf9e Mon Sep 17 00:00:00 2001
-From: Lukas Elsner <open at mindrunner.de>
-Date: Wed, 17 Jul 2013 01:16:04 +0200
-Subject: [PATCH] replace num_physpages with totalram_pages
-
----
- kernel/nv-linux.h | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/kernel/nv-linux.h b/kernel/nv-linux.h
-index 4e5ed89..46c51ec 100644
---- a/kernel/nv-linux.h
-+++ b/kernel/nv-linux.h
-@@ -957,7 +957,7 @@ static inline int nv_execute_on_all_cpus(void (*func)(void *info), void *info)
- #endif
-
- #if !defined(NV_VMWARE)
--#define NV_NUM_PHYSPAGES num_physpages
-+#define NV_NUM_PHYSPAGES totalram_pages
- #define NV_GET_CURRENT_PROCESS() current->tgid
- #define NV_IN_ATOMIC() in_atomic()
- #define NV_LOCAL_BH_DISABLE() local_bh_disable()
---
-1.8.3.2
-
Copied: nvidia-304xx-lts/repos/testing-i686/nvidia-linux-3.11.patch (from rev 195955, nvidia-304xx-lts/trunk/nvidia-linux-3.11.patch)
===================================================================
--- testing-i686/nvidia-linux-3.11.patch (rev 0)
+++ testing-i686/nvidia-linux-3.11.patch 2013-10-06 11:11:23 UTC (rev 195956)
@@ -0,0 +1,25 @@
+From 8a8647ad942c8ac5161e1335f7f3e9dbb34dbf9e Mon Sep 17 00:00:00 2001
+From: Lukas Elsner <open at mindrunner.de>
+Date: Wed, 17 Jul 2013 01:16:04 +0200
+Subject: [PATCH] replace num_physpages with totalram_pages
+
+---
+ kernel/nv-linux.h | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/kernel/nv-linux.h b/kernel/nv-linux.h
+index 4e5ed89..46c51ec 100644
+--- a/kernel/nv-linux.h
++++ b/kernel/nv-linux.h
+@@ -957,7 +957,7 @@ static inline int nv_execute_on_all_cpus(void (*func)(void *info), void *info)
+ #endif
+
+ #if !defined(NV_VMWARE)
+-#define NV_NUM_PHYSPAGES num_physpages
++#define NV_NUM_PHYSPAGES totalram_pages
+ #define NV_GET_CURRENT_PROCESS() current->tgid
+ #define NV_IN_ATOMIC() in_atomic()
+ #define NV_LOCAL_BH_DISABLE() local_bh_disable()
+--
+1.8.3.2
+
Deleted: testing-x86_64/PKGBUILD
===================================================================
--- testing-x86_64/PKGBUILD 2013-10-06 11:11:09 UTC (rev 195955)
+++ testing-x86_64/PKGBUILD 2013-10-06 11:11:23 UTC (rev 195956)
@@ -1,50 +0,0 @@
-# $Id$
-# Maintainer: Andreas Radke <andyrtr at archlinux.org>
-
-pkgname=nvidia-304xx-lts
-pkgver=304.108
-_extramodules=extramodules-3.10-lts
-pkgrel=4
-pkgdesc="NVIDIA drivers for linux-lts, 304xx legacy branch"
-arch=('i686' 'x86_64')
-url="http://www.nvidia.com/"
-depends=('linux-lts>=3.10.14' "nvidia-304xx-utils=${pkgver}")
-makedepends=('linux-lts-headers>=3.10.14')
-conflicts=('nvidia-lts' 'nvidia-96xx-lts' 'nvidia-173xx-lts')
-provides=('nvidia-304xx')
-license=('custom')
-install=nvidia-304xx-lts.install
-options=(!strip)
-source=('nvidia-linux-3.11.patch')
-md5sums=('5c962760de069ed4ad34e64d5988686a')
-
-if [ "$CARCH" = "i686" ]; then
- _arch='x86'
- _pkg="NVIDIA-Linux-${_arch}-${pkgver}"
- source+=("ftp://download.nvidia.com/XFree86/Linux-${_arch}/${pkgver}/${_pkg}.run")
- md5sums+=('ef453e32515c2176c67ebd95c770dc0e')
-elif [ "$CARCH" = "x86_64" ]; then
- _arch='x86_64'
- _pkg="NVIDIA-Linux-${_arch}-${pkgver}-no-compat32"
- source+=("ftp://download.nvidia.com/XFree86/Linux-${_arch}/${pkgver}/${_pkg}.run")
- md5sums+=('4e0e54de6735023f44c858a3006b3e18')
-fi
-
-build() {
- _kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
- cd "${srcdir}"
- sh "${_pkg}.run" --extract-only
- cd "${_pkg}/kernel"
- patch -Np2 -i ${srcdir}/nvidia-linux-3.11.patch
- make SYSSRC=/usr/lib/modules/"${_kernver}/build" module
-}
-
-package() {
- install -D -m644 "${srcdir}/${_pkg}/kernel/nvidia.ko" \
- "${pkgdir}/usr/lib/modules/${_extramodules}/nvidia.ko"
- install -d -m755 "${pkgdir}/usr/lib/modprobe.d"
- echo "blacklist nouveau" >> "${pkgdir}/usr/lib/modprobe.d/nvidia-304xx-lts.conf"
- echo "blacklist nvidiafb" >> "${pkgdir}/usr/lib/modprobe.d/nvidia-304xx-lts.conf"
- gzip "${pkgdir}/usr/lib/modules/${_extramodules}/nvidia.ko"
- install -D -m644 ${srcdir}/${_pkg}/LICENSE "${pkgdir}/usr/share/licenses/nvidia-304xx-lts/LICENSE"
-}
Copied: nvidia-304xx-lts/repos/testing-x86_64/PKGBUILD (from rev 195955, nvidia-304xx-lts/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2013-10-06 11:11:23 UTC (rev 195956)
@@ -0,0 +1,50 @@
+# $Id$
+# Maintainer: Andreas Radke <andyrtr at archlinux.org>
+
+pkgname=nvidia-304xx-lts
+pkgver=304.108
+_extramodules=extramodules-3.10-lts
+pkgrel=5
+pkgdesc="NVIDIA drivers for linux-lts, 304xx legacy branch"
+arch=('i686' 'x86_64')
+url="http://www.nvidia.com/"
+depends=('linux-lts>=3.10.14' "nvidia-304xx-utils=${pkgver}")
+makedepends=('linux-lts-headers>=3.10.14')
+conflicts=('nvidia-lts' 'nvidia-96xx-lts' 'nvidia-173xx-lts')
+provides=('nvidia-304xx')
+license=('custom')
+install=nvidia-304xx-lts.install
+options=(!strip)
+source=('nvidia-linux-3.11.patch')
+md5sums=('5c962760de069ed4ad34e64d5988686a')
+
+if [ "$CARCH" = "i686" ]; then
+ _arch='x86'
+ _pkg="NVIDIA-Linux-${_arch}-${pkgver}"
+ source+=("ftp://download.nvidia.com/XFree86/Linux-${_arch}/${pkgver}/${_pkg}.run")
+ md5sums+=('ef453e32515c2176c67ebd95c770dc0e')
+elif [ "$CARCH" = "x86_64" ]; then
+ _arch='x86_64'
+ _pkg="NVIDIA-Linux-${_arch}-${pkgver}-no-compat32"
+ source+=("ftp://download.nvidia.com/XFree86/Linux-${_arch}/${pkgver}/${_pkg}.run")
+ md5sums+=('4e0e54de6735023f44c858a3006b3e18')
+fi
+
+build() {
+ _kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
+ cd "${srcdir}"
+ sh "${_pkg}.run" --extract-only
+ cd "${_pkg}/kernel"
+ patch -Np2 -i ${srcdir}/nvidia-linux-3.11.patch
+ make SYSSRC=/usr/lib/modules/"${_kernver}/build" module
+}
+
+package() {
+ install -D -m644 "${srcdir}/${_pkg}/kernel/nvidia.ko" \
+ "${pkgdir}/usr/lib/modules/${_extramodules}/nvidia.ko"
+ install -d -m755 "${pkgdir}/usr/lib/modprobe.d"
+ echo "blacklist nouveau" >> "${pkgdir}/usr/lib/modprobe.d/nvidia-304xx-lts.conf"
+ echo "blacklist nvidiafb" >> "${pkgdir}/usr/lib/modprobe.d/nvidia-304xx-lts.conf"
+ gzip "${pkgdir}/usr/lib/modules/${_extramodules}/nvidia.ko"
+ install -D -m644 ${srcdir}/${_pkg}/LICENSE "${pkgdir}/usr/share/licenses/nvidia-304xx-lts/LICENSE"
+}
Deleted: testing-x86_64/nvidia-304xx-lts.install
===================================================================
--- testing-x86_64/nvidia-304xx-lts.install 2013-10-06 11:11:09 UTC (rev 195955)
+++ testing-x86_64/nvidia-304xx-lts.install 2013-10-06 11:11:23 UTC (rev 195956)
@@ -1,15 +0,0 @@
-post_install() {
- EXTRAMODULES='extramodules-3.10-lts'
- depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
- echo 'In order to use nvidia module, reboot the system.'
-}
-
-post_upgrade() {
- EXTRAMODULES='extramodules-3.10-lts'
- depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
-}
-
-post_remove() {
- EXTRAMODULES='extramodules-3.10-lts'
- depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
-}
Copied: nvidia-304xx-lts/repos/testing-x86_64/nvidia-304xx-lts.install (from rev 195955, nvidia-304xx-lts/trunk/nvidia-304xx-lts.install)
===================================================================
--- testing-x86_64/nvidia-304xx-lts.install (rev 0)
+++ testing-x86_64/nvidia-304xx-lts.install 2013-10-06 11:11:23 UTC (rev 195956)
@@ -0,0 +1,15 @@
+post_install() {
+ EXTRAMODULES='extramodules-3.10-lts'
+ depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+ echo 'In order to use nvidia module, reboot the system.'
+}
+
+post_upgrade() {
+ EXTRAMODULES='extramodules-3.10-lts'
+ depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+}
+
+post_remove() {
+ EXTRAMODULES='extramodules-3.10-lts'
+ depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+}
Deleted: testing-x86_64/nvidia-linux-3.11.patch
===================================================================
--- testing-x86_64/nvidia-linux-3.11.patch 2013-10-06 11:11:09 UTC (rev 195955)
+++ testing-x86_64/nvidia-linux-3.11.patch 2013-10-06 11:11:23 UTC (rev 195956)
@@ -1,25 +0,0 @@
-From 8a8647ad942c8ac5161e1335f7f3e9dbb34dbf9e Mon Sep 17 00:00:00 2001
-From: Lukas Elsner <open at mindrunner.de>
-Date: Wed, 17 Jul 2013 01:16:04 +0200
-Subject: [PATCH] replace num_physpages with totalram_pages
-
----
- kernel/nv-linux.h | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/kernel/nv-linux.h b/kernel/nv-linux.h
-index 4e5ed89..46c51ec 100644
---- a/kernel/nv-linux.h
-+++ b/kernel/nv-linux.h
-@@ -957,7 +957,7 @@ static inline int nv_execute_on_all_cpus(void (*func)(void *info), void *info)
- #endif
-
- #if !defined(NV_VMWARE)
--#define NV_NUM_PHYSPAGES num_physpages
-+#define NV_NUM_PHYSPAGES totalram_pages
- #define NV_GET_CURRENT_PROCESS() current->tgid
- #define NV_IN_ATOMIC() in_atomic()
- #define NV_LOCAL_BH_DISABLE() local_bh_disable()
---
-1.8.3.2
-
Copied: nvidia-304xx-lts/repos/testing-x86_64/nvidia-linux-3.11.patch (from rev 195955, nvidia-304xx-lts/trunk/nvidia-linux-3.11.patch)
===================================================================
--- testing-x86_64/nvidia-linux-3.11.patch (rev 0)
+++ testing-x86_64/nvidia-linux-3.11.patch 2013-10-06 11:11:23 UTC (rev 195956)
@@ -0,0 +1,25 @@
+From 8a8647ad942c8ac5161e1335f7f3e9dbb34dbf9e Mon Sep 17 00:00:00 2001
+From: Lukas Elsner <open at mindrunner.de>
+Date: Wed, 17 Jul 2013 01:16:04 +0200
+Subject: [PATCH] replace num_physpages with totalram_pages
+
+---
+ kernel/nv-linux.h | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/kernel/nv-linux.h b/kernel/nv-linux.h
+index 4e5ed89..46c51ec 100644
+--- a/kernel/nv-linux.h
++++ b/kernel/nv-linux.h
+@@ -957,7 +957,7 @@ static inline int nv_execute_on_all_cpus(void (*func)(void *info), void *info)
+ #endif
+
+ #if !defined(NV_VMWARE)
+-#define NV_NUM_PHYSPAGES num_physpages
++#define NV_NUM_PHYSPAGES totalram_pages
+ #define NV_GET_CURRENT_PROCESS() current->tgid
+ #define NV_IN_ATOMIC() in_atomic()
+ #define NV_LOCAL_BH_DISABLE() local_bh_disable()
+--
+1.8.3.2
+
More information about the arch-commits
mailing list