diff options
Diffstat (limited to 'kernel/iomem.c')
| -rw-r--r-- | kernel/iomem.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/iomem.c b/kernel/iomem.c index f7525e14ebc6..93c264444510 100644 --- a/kernel/iomem.c +++ b/kernel/iomem.c | |||
| @@ -55,7 +55,7 @@ static void *try_ram_remap(resource_size_t offset, size_t size, | |||
| 55 | * | 55 | * |
| 56 | * MEMREMAP_WB - matches the default mapping for System RAM on | 56 | * MEMREMAP_WB - matches the default mapping for System RAM on |
| 57 | * the architecture. This is usually a read-allocate write-back cache. | 57 | * the architecture. This is usually a read-allocate write-back cache. |
| 58 | * Morever, if MEMREMAP_WB is specified and the requested remap region is RAM | 58 | * Moreover, if MEMREMAP_WB is specified and the requested remap region is RAM |
| 59 | * memremap() will bypass establishing a new mapping and instead return | 59 | * memremap() will bypass establishing a new mapping and instead return |
| 60 | * a pointer into the direct map. | 60 | * a pointer into the direct map. |
| 61 | * | 61 | * |
| @@ -86,7 +86,7 @@ void *memremap(resource_size_t offset, size_t size, unsigned long flags) | |||
| 86 | /* Try all mapping types requested until one returns non-NULL */ | 86 | /* Try all mapping types requested until one returns non-NULL */ |
| 87 | if (flags & MEMREMAP_WB) { | 87 | if (flags & MEMREMAP_WB) { |
| 88 | /* | 88 | /* |
| 89 | * MEMREMAP_WB is special in that it can be satisifed | 89 | * MEMREMAP_WB is special in that it can be satisfied |
| 90 | * from the direct map. Some archs depend on the | 90 | * from the direct map. Some archs depend on the |
| 91 | * capability of memremap() to autodetect cases where | 91 | * capability of memremap() to autodetect cases where |
| 92 | * the requested range is potentially in System RAM. | 92 | * the requested range is potentially in System RAM. |
