cec.c (0ade0b6240c4853cf9725924c46c10f4251639d7) cec.c (6d8e294bf5f0e85c34e8b14b064e2965f53f38b0)
1// SPDX-License-Identifier: GPL-2.0
2#include <linux/mm.h>
3#include <linux/gfp.h>
4#include <linux/kernel.h>
5#include <linux/workqueue.h>
6
7#include <asm/mce.h>
8

--- 355 unchanged lines hidden (view full) ---

364
365 return 0;
366}
367
368static int pfn_set(void *data, u64 val)
369{
370 *(u64 *)data = val;
371
1// SPDX-License-Identifier: GPL-2.0
2#include <linux/mm.h>
3#include <linux/gfp.h>
4#include <linux/kernel.h>
5#include <linux/workqueue.h>
6
7#include <asm/mce.h>
8

--- 355 unchanged lines hidden (view full) ---

364
365 return 0;
366}
367
368static int pfn_set(void *data, u64 val)
369{
370 *(u64 *)data = val;
371
372 return cec_add_elem(val);
372 cec_add_elem(val);
373
374 return 0;
373}
374
375DEFINE_DEBUGFS_ATTRIBUTE(pfn_ops, u64_get, pfn_set, "0x%llx\n");
376
377static int decay_interval_set(void *data, u64 val)
378{
379 *(u64 *)data = val;
380

--- 155 unchanged lines hidden ---
375}
376
377DEFINE_DEBUGFS_ATTRIBUTE(pfn_ops, u64_get, pfn_set, "0x%llx\n");
378
379static int decay_interval_set(void *data, u64 val)
380{
381 *(u64 *)data = val;
382

--- 155 unchanged lines hidden ---