summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorK. Y. Srinivasan <kys@microsoft.com>2011-02-11 22:48:45 (GMT)
committerGreg Kroah-Hartman <gregkh@suse.de>2011-02-18 21:11:44 (GMT)
commitd97ae00ea6a632bd97b99431db87d9b505b633a1 (patch)
treecaab35e80d3b487b71c0fbf0322687511a98640b
parente3fe0bb65b2686aa83dabdb1ecc22f5d80c536f8 (diff)
downloadlinux-fsl-qoriq-d97ae00ea6a632bd97b99431db87d9b505b633a1.tar.xz
Staging: hv: Cleanup vmalloc calls
The subject says it all. There is no need to specify different page protection bits based on the architecture. Signed-off-by: K. Y. Srinivasan <kys@microsoft.com> Signed-off-by: Hank Janssen <hjanssen@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r--drivers/staging/hv/hv.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/staging/hv/hv.c b/drivers/staging/hv/hv.c
index 31b9073..2d492ad 100644
--- a/drivers/staging/hv/hv.c
+++ b/drivers/staging/hv/hv.c
@@ -230,12 +230,7 @@ int hv_init(void)
* Allocate the hypercall page memory
* virtaddr = osd_page_alloc(1);
*/
-#ifdef __x86_64__
virtaddr = __vmalloc(PAGE_SIZE, GFP_KERNEL, PAGE_KERNEL_EXEC);
-#else
- virtaddr = __vmalloc(PAGE_SIZE, GFP_KERNEL,
- __pgprot(__PAGE_KERNEL & (~_PAGE_NX)));
-#endif
if (!virtaddr) {
DPRINT_ERR(VMBUS,