fdisk: Add support for NDS32 architecture.
authorMacpaul Lin <macpaul@andestech.com>
Thu, 5 Aug 2010 05:14:04 +0000 (13:14 +0800)
committerDenys Vlasenko <vda.linux@googlemail.com>
Wed, 11 Aug 2010 12:12:00 +0000 (14:12 +0200)
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>
util-linux/fdisk_osf.c

index b89a2b2..79be0cd 100644 (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__) \