[ARM] 2939/1: Fix compilation error in arch/arm/mm/flush.c
commit481467d6fa4489aa42321a067e78bad26349488f
authorCatalin Marinas <catalin.marinas@arm.com>
Fri, 30 Sep 2005 15:07:04 +0000 (30 16:07 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 30 Sep 2005 15:07:04 +0000 (30 16:07 +0100)
tree8d6d8335a98d57e204cd5bacc99569ff7d424cae
parentdce79affd5d04e9cbabe35016eda55213b9b36f6
[ARM] 2939/1: Fix compilation error in arch/arm/mm/flush.c

Patch from Catalin Marinas

When CONFIG_CPU_CACHE_VIPT is defined, the flush_pfn_alias() function is
implicitely declared and it later conflicts with its actual definition.
This patch moves the function definition to the beginning of the file.

Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mm/flush.c