Release 4.11 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 | 50.00% |
Christoph Hellwig | 6 | 9.84% | 1 | 16.67% |
Toshi Kani | 3 | 4.92% | 2 | 33.33% |
Total | 61 | 100.00% | 6 | 100.00% |
device_initcall(register_e820_pmem);
Overall Contributors
Person | Tokens | Prop | Commits | CommitProp |
Dan J Williams | 76 | 80.00% | 3 | 42.86% |
Christoph Hellwig | 15 | 15.79% | 1 | 14.29% |
Toshi Kani | 3 | 3.16% | 2 | 28.57% |
Paul Gortmaker | 1 | 1.05% | 1 | 14.29% |
Total | 95 | 100.00% | 7 | 100.00% |
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.