From 063c410a5429cabffbabb11388b76740bea0e6ab Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Thu, 3 Oct 2013 19:18:44 -0700 Subject: ARMv4: Add a minimal version of cpu.h. All this version does is define asmlinkage to be nothing. It's required by the threading header file which is brought in by the timer implementation which I think is the hook for thread switching. Change-Id: Id57261d7c2c5ff8be00b0ad71bf7aaa9f3e24c1d Signed-off-by: Gabe Black Reviewed-on: https://chromium-review.googlesource.com/171801 Reviewed-by: Ronald Minnich Tested-by: Gabe Black Commit-Queue: Gabe Black (cherry picked from commit e00379f54802066fd3e0685b291cdec289078055) Signed-off-by: Isaac Christensen Reviewed-on: http://review.coreboot.org/6831 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich Reviewed-by: Paul Menzel --- src/arch/arm/include/armv4/arch/cpu.h | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 src/arch/arm/include/armv4/arch/cpu.h (limited to 'src') diff --git a/src/arch/arm/include/armv4/arch/cpu.h b/src/arch/arm/include/armv4/arch/cpu.h new file mode 100644 index 0000000000..48f913ebc0 --- /dev/null +++ b/src/arch/arm/include/armv4/arch/cpu.h @@ -0,0 +1,25 @@ +/* + * This file is part of the coreboot project. + * + * Copyright 2012 Google Inc. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; version 2 of the License. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA, 02110-1301 USA + */ + +#ifndef __ARCH_CPU_H__ +#define __ARCH_CPU_H__ + +#define asmlinkage + +#endif /* __ARCH_CPU_H__ */ -- cgit v1.2.3