
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 09/11/2013 09:39 AM, FengHua wrote:
hi Rob, Thank you for your checking of this patch.
-----原始邮件----- 发件人: "Rob Herring" robherring2@gmail.com 发送时间: 2013年9月11日 星期三 收件人: fenghua@phytium.com.cn 抄送: u-boot@lists.denx.de, trini@ti.com 主题: Re: [U-Boot] [PATCH v7 1/5] core support of arm64
On 09/10/2013 03:12 AM, fenghua@phytium.com.cn wrote:
[snip]
+++ b/arch/arm/cpu/armv8/cache_v8.c
[snip]
+#include <common.h> +#include <asm/system.h> +#include <asm/arch/mmu.h>
[snip]
+/* + * Stub implementations for outer cache operations + */ +void __v8_outer_cache_enable(void) {} +void v8_outer_cache_enable(void) + __attribute__((weak, alias("__v8_outer_cache_enable")));
These can just be:
void __weak v8_outer_cache_enable(void) {}
This format do not works at aarch64-gcc.
This file (and the others doing weak attributes) just needs to add <linux/compiler.h>
- -- Tom