Release 4.13 arch/x86/kernel/pmem.c
/*
* 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 | 80.00% | 3 | 50.00% |
Christoph Hellwig | 16 | 16.84% | 1 | 16.67% |
Toshi Kani | 2 | 2.11% | 1 | 16.67% |
Paul Gortmaker | 1 | 1.05% | 1 | 16.67% |
Total | 95 | 100.00% | 6 | 100.00% |
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.