summaryrefslogtreecommitdiff
path: root/arch/powerpc/lib/traps.c
blob: c7bce82a44b3bd1027ed4b1c31d25e815de5df5e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// SPDX-License-Identifier: GPL-2.0+
/*
 * (C) Copyright 2003
 * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
 */

#include <init.h>
#include <asm/global_data.h>

DECLARE_GLOBAL_DATA_PTR;

void trap_init(unsigned long reloc_addr);

int arch_initr_trap(void)
{
	trap_init(gd->relocaddr);

	return 0;
}