xref: /linux/arch/sparc/include/asm/memctrl.h (revision 8e07e0e3964ca4e23ce7b68e2096fe660a888942)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _SPARC_MEMCTRL_H
3 #define _SPARC_MEMCTRL_H
4 
5 typedef int (*dimm_printer_t)(int synd_code, unsigned long paddr, char *buf, int buflen);
6 
7 int register_dimm_printer(dimm_printer_t func);
8 void unregister_dimm_printer(dimm_printer_t func);
9 
10 #endif /* _SPARC_MEMCTRL_H */
11