aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/resource.c
diff options
context:
space:
mode:
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 b4d637a55256..e68cd7477c40 100644
--- a/kernel/resource.c
+++ b/kernel/resource.c
@@ -305,7 +305,7 @@ static int __is_ram(unsigned long pfn, unsigned long nr_pages, void *arg)
305 * This generic page_is_ram() returns true if specified address is 305 * This generic page_is_ram() returns true if specified address is
306 * registered as "System RAM" in iomem_resource list. 306 * registered as "System RAM" in iomem_resource list.
307 */ 307 */
308int __attribute__((weak)) page_is_ram(unsigned long pfn) 308int __weak page_is_ram(unsigned long pfn)
309{ 309{
310 return walk_system_ram_range(pfn, 1, NULL, __is_ram) == 1; 310 return walk_system_ram_range(pfn, 1, NULL, __is_ram) == 1;
311} 311}