fdisk: Add support for NDS32 architecture.

NDS32 is a new architecture invented by Andestech.com.
This patch add the support to fdisk utility.

Signed-off-by: Macpaul Lin <macpaul@andestech.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Macpaul Lin 2010-08-05 13:14:04 +08:00 committed by Denys Vlasenko
parent 9669363740
commit 1fbaf3a2d1

View File

@ -46,7 +46,8 @@
#if defined(i386) || defined(__sparc__) || defined(__arm__) \
|| defined(__m68k__) || defined(__mips__) || defined(__s390__) \
|| defined(__s390__) || defined(__s390x__) \
|| defined(__sh__) || defined(__x86_64__) || defined(__avr32__)
|| defined(__sh__) || defined(__x86_64__) || defined(__avr32__) \
|| defined(__nds32__)
# define BSD_LABELSECTOR 1
# define BSD_LABELOFFSET 0
#elif defined(__alpha__) || defined(__powerpc__) || defined(__ia64__) \