* [RFC PATCHv3 01/11] mce: acpi/apei: Use get_vm_area directly
[not found] <1388699609-18214-1-git-send-email-lauraa@codeaurora.org>
@ 2014-01-02 21:53 ` Laura Abbott
2014-01-03 2:33 ` Chen, Gong
0 siblings, 1 reply; 2+ messages in thread
From: Laura Abbott @ 2014-01-02 21:53 UTC (permalink / raw)
To: Andrew Morton, Kyungmin Park, Dave Hansen, linux-mm, Len Brown,
Rafael J. Wysocki
Cc: linux-kernel, Laura Abbott, linux-acpi
There's no need to use VMALLOC_START and VMALLOC_END with
__get_vm_area when get_vm_area does the exact same thing.
Convert over.
Signed-off-by: Laura Abbott <lauraa@codeaurora.org>
---
drivers/acpi/apei/ghes.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/acpi/apei/ghes.c b/drivers/acpi/apei/ghes.c
index a30bc31..6e784b7 100644
--- a/drivers/acpi/apei/ghes.c
+++ b/drivers/acpi/apei/ghes.c
@@ -149,8 +149,8 @@ static atomic_t ghes_estatus_cache_alloced;
static int ghes_ioremap_init(void)
{
- ghes_ioremap_area = __get_vm_area(PAGE_SIZE * GHES_IOREMAP_PAGES,
- VM_IOREMAP, VMALLOC_START, VMALLOC_END);
+ ghes_ioremap_area = get_vm_area(PAGE_SIZE * GHES_IOREMAP_PAGES,
+ VM_IOREMAP);
if (!ghes_ioremap_area) {
pr_err(GHES_PFX "Failed to allocate virtual memory area for atomic ioremap.\n");
return -ENOMEM;
--
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
hosted by The Linux Foundation
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [RFC PATCHv3 01/11] mce: acpi/apei: Use get_vm_area directly
2014-01-02 21:53 ` [RFC PATCHv3 01/11] mce: acpi/apei: Use get_vm_area directly Laura Abbott
@ 2014-01-03 2:33 ` Chen, Gong
0 siblings, 0 replies; 2+ messages in thread
From: Chen, Gong @ 2014-01-03 2:33 UTC (permalink / raw)
To: Laura Abbott
Cc: Andrew Morton, Kyungmin Park, Dave Hansen, linux-mm, Len Brown,
Rafael J. Wysocki, linux-kernel, linux-acpi
[-- Attachment #1: Type: text/plain, Size: 311 bytes --]
On Thu, Jan 02, 2014 at 01:53:19PM -0800, Laura Abbott wrote:
> There's no need to use VMALLOC_START and VMALLOC_END with
> __get_vm_area when get_vm_area does the exact same thing.
> Convert over.
>
> Signed-off-by: Laura Abbott <lauraa@codeaurora.org>
Ack-by: Chen, Gong <gong.chen@linux.intel.com>
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-01-03 2:33 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <1388699609-18214-1-git-send-email-lauraa@codeaurora.org>
2014-01-02 21:53 ` [RFC PATCHv3 01/11] mce: acpi/apei: Use get_vm_area directly Laura Abbott
2014-01-03 2:33 ` Chen, Gong
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).