diff options
author | GuanXuetao <gxt@mprc.pku.edu.cn> | 2011-02-26 18:24:56 +0800 |
---|---|---|
committer | GuanXuetao <gxt@mprc.pku.edu.cn> | 2011-03-17 09:19:05 +0800 |
commit | 790edb61c0d87d1f1daafcaaa8f7c66b7b82bdad (patch) | |
tree | f3e3a4f1a182692dfa07e85010fca23eb951442b /arch/unicore32/include/asm | |
parent | 7f509a9ef7af0d6ac852d49eb87ed2b9857821cc (diff) | |
download | blackbird-obmc-linux-790edb61c0d87d1f1daafcaaa8f7c66b7b82bdad.tar.gz blackbird-obmc-linux-790edb61c0d87d1f1daafcaaa8f7c66b7b82bdad.zip |
unicore32 core architecture: build infrastructure
This patch implements build infrastructure.
Signed-off-by: Guan Xuetao <gxt@mprc.pku.edu.cn>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/unicore32/include/asm')
-rw-r--r-- | arch/unicore32/include/asm/Kbuild | 2 | ||||
-rw-r--r-- | arch/unicore32/include/asm/linkage.h | 22 |
2 files changed, 24 insertions, 0 deletions
diff --git a/arch/unicore32/include/asm/Kbuild b/arch/unicore32/include/asm/Kbuild new file mode 100644 index 000000000000..b200fdaca44d --- /dev/null +++ b/arch/unicore32/include/asm/Kbuild @@ -0,0 +1,2 @@ +include include/asm-generic/Kbuild.asm + diff --git a/arch/unicore32/include/asm/linkage.h b/arch/unicore32/include/asm/linkage.h new file mode 100644 index 000000000000..d1618bd35b67 --- /dev/null +++ b/arch/unicore32/include/asm/linkage.h @@ -0,0 +1,22 @@ +/* + * linux/arch/unicore32/include/asm/linkage.h + * + * Code specific to PKUnity SoC and UniCore ISA + * + * Copyright (C) 2001-2010 GUAN Xue-tao + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. + */ +#ifndef __UNICORE_LINKAGE_H__ +#define __UNICORE_LINKAGE_H__ + +#define __ALIGN .align 0 +#define __ALIGN_STR ".align 0" + +#define ENDPROC(name) \ + .type name, %function; \ + END(name) + +#endif |