summaryrefslogtreecommitdiffstats
path: root/kernel/resource.c
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2010-03-02 20:21:09 +0100
committerH. Peter Anvin <hpa@zytor.com>2010-03-02 20:21:09 +0100
commitf41496607e03ab99f263b8e26689ad0fc853007f (patch)
treef210a519325ffbc388804d95eb68a6bb89c493ca /kernel/resource.c
parentresource: Fix generic page_is_ram() for partial RAM pages (diff)
downloadlinux-f41496607e03ab99f263b8e26689ad0fc853007f.tar.xz
linux-f41496607e03ab99f263b8e26689ad0fc853007f.zip
resource: Fix broken indentation
Fix broken indentation in patch 37b99dd5372cff42f83210c280f314f10f99138e. Reported-by: Linus Torvalds <torvalds@linux-foundation.org> Cc: Wu Fengguang <fengguang.wu@intel.com> LKML-Reference: <20100301135551.GA9998@localhost> Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'kernel/resource.c')
-rw-r--r--kernel/resource.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/resource.c b/kernel/resource.c
index 8f0e3d0f4bff..91f430fd467e 100644
--- a/kernel/resource.c
+++ b/kernel/resource.c
@@ -287,7 +287,7 @@ int walk_system_ram_range(unsigned long start_pfn, unsigned long nr_pages,
pfn = (res.start + PAGE_SIZE - 1) >> PAGE_SHIFT;
end_pfn = (res.end + 1) >> PAGE_SHIFT;
if (end_pfn > pfn)
- ret = (*func)(pfn, end_pfn - pfn, arg);
+ ret = (*func)(pfn, end_pfn - pfn, arg);
if (ret)
break;
res.start = res.end + 1;