: Staging: hv: Cleanup vmalloc calls
Subsystems (2)
PATCH 1/1 : 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 <[email protected]>
Signed-off-by Hank Janssen <[email protected]>
--- drivers/staging/hv/hv.c | 5 ----- 1 files changed, 0 insertions(+), 5 deletions(-)
drivers/staging/hv/hv.c +0 -5
@@ -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,
Signature · 1 line
1.5.5.6
Quoted 3 lines · K. Y. Srinivasan
The subject says it all. There is no need to
specify different page protection bits based
on the architecture.
Wonderful, thanks for doing this. I'll queue it up after your previous patches sometime next week.
thanks,
greg k-h