diff options
author | Deepak Saxena <dsaxena@plexity.net> | 2005-10-28 10:19:02 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2005-10-28 10:19:02 -0400 |
commit | 1cc977a76642b1eec2ab4ba80a6f0db9a63a091e (patch) | |
tree | cade01987d4749200335f6c19e5e6cb381f75b16 /arch | |
parent | f9258f226baf663099acb7972287ea0e26ce05a7 (diff) |
[ARM] 2990/1: Replace map_desc.physical with map_desc.pfn: S3C2410
Patch from Deepak Saxena
S3C2410 map_desc.pfn conversion
Signed-off-by: Deepak Saxena <dsaxena@plexity.net>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-s3c2410/cpu.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-s3c2410/cpu.h b/arch/arm/mach-s3c2410/cpu.h index 478c15c0e36a..9cbe5eef492b 100644 --- a/arch/arm/mach-s3c2410/cpu.h +++ b/arch/arm/mach-s3c2410/cpu.h | |||
@@ -21,7 +21,7 @@ | |||
21 | 21 | ||
22 | /* todo - fix when rmk changes iodescs to use `void __iomem *` */ | 22 | /* todo - fix when rmk changes iodescs to use `void __iomem *` */ |
23 | 23 | ||
24 | #define IODESC_ENT(x) { (unsigned long)S3C24XX_VA_##x, S3C2410_PA_##x, S3C24XX_SZ_##x, MT_DEVICE } | 24 | #define IODESC_ENT(x) { (unsigned long)S3C24XX_VA_##x, __phys_to_pfn(S3C2410_PA_##x), S3C24XX_SZ_##x, MT_DEVICE } |
25 | 25 | ||
26 | #ifndef MHZ | 26 | #ifndef MHZ |
27 | #define MHZ (1000*1000) | 27 | #define MHZ (1000*1000) |