Release 4.14 arch/x86/kernel/pmem.c
// SPDX-License-Identifier: GPL-2.0
/*
* Copyright (c) 2015, Christoph Hellwig.
* Copyright (c) 2015, Intel Corporation.
*/
#include <linux/platform_device.h>
#include <linux/init.h>
#include <linux/ioport.h>
static int found(u64 start, u64 end, void *data)
{
return 1;
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Dan J Williams | 19 | 100.00% | 1 | 100.00% |
Total | 19 | 100.00% | 1 | 100.00% |
static __init int register_e820_pmem(void)
{
struct platform_device *pdev;
int rc;
rc = walk_iomem_res_desc(IORES_DESC_PERSISTENT_MEMORY_LEGACY,
IORESOURCE_MEM, 0, -1, NULL, found);
if (rc <= 0)
return 0;
/*
* See drivers/nvdimm/e820.c for the implementation, this is
* simply here to trigger the module to load on demand.
*/
pdev = platform_device_alloc("e820_pmem", -1);
return platform_device_add(pdev);
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Dan J Williams | 52 | 85.25% | 3 | 60.00% |
Christoph Hellwig | 7 | 11.48% | 1 | 20.00% |
Toshi Kani | 2 | 3.28% | 1 | 20.00% |
Total | 61 | 100.00% | 5 | 100.00% |
device_initcall(register_e820_pmem);
Overall Contributors
Person | Tokens | Prop | Commits | CommitProp |
Dan J Williams | 76 | 79.17% | 3 | 42.86% |
Christoph Hellwig | 16 | 16.67% | 1 | 14.29% |
Toshi Kani | 2 | 2.08% | 1 | 14.29% |
Greg Kroah-Hartman | 1 | 1.04% | 1 | 14.29% |
Paul Gortmaker | 1 | 1.04% | 1 | 14.29% |
Total | 96 | 100.00% | 7 | 100.00% |
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.