j
: Next unread message k
: Previous unread message j a
: Jump to all threads
j l
: Jump to MailingList overview
Author: mcayland Date: Fri Mar 18 14:06:00 2016 New Revision: 1392 URL: http://tracker.coreboot.org/trac/openbios/changeset/1392
Log: SPARC64: fix build warnings on gcc6
Make sure we use the correct REGISTER_NODE macro when registering the /memory and /virtual-memory nodes.
Signed-off-by: Mark Cave-Ayland mark.cave-ayland@ilande.co.uk
Modified: trunk/openbios-devel/arch/sparc64/lib.c
Modified: trunk/openbios-devel/arch/sparc64/lib.c ============================================================================== --- trunk/openbios-devel/arch/sparc64/lib.c Fri Feb 26 00:00:15 2016 (r1391) +++ trunk/openbios-devel/arch/sparc64/lib.c Fri Mar 18 14:06:00 2016 (r1392) @@ -458,10 +458,10 @@ void ob_mmu_init(const char *cpuname, uint64_t ram_size) { /* memory node */ - REGISTER_NODE_METHODS(memory, "/memory"); + REGISTER_NODE(memory);
/* MMU node */ - REGISTER_NODE_METHODS(mmu, "/virtual-memory"); + REGISTER_NODE(mmu);
ofmem_register(find_dev("/memory"), find_dev("/virtual-memory"));