diff options
author | Macpaul Lin <macpaul@andestech.com> | 2010-08-05 13:14:04 +0800 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2010-08-11 14:12:00 +0200 |
commit | 1fbaf3a2d1f9abe1ee64acfc0927fdfedfdae998 (patch) | |
tree | 1c01b1462c8048f23f7d7565fb3d320ebfdd7893 | |
parent | 96693637403f59cd23af57f123f3543ba06dee0a (diff) | |
download | busybox-w32-1fbaf3a2d1f9abe1ee64acfc0927fdfedfdae998.tar.gz busybox-w32-1fbaf3a2d1f9abe1ee64acfc0927fdfedfdae998.tar.bz2 busybox-w32-1fbaf3a2d1f9abe1ee64acfc0927fdfedfdae998.zip |
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>
-rw-r--r-- | util-linux/fdisk_osf.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/util-linux/fdisk_osf.c b/util-linux/fdisk_osf.c index b89a2b2af..79be0cd0f 100644 --- a/util-linux/fdisk_osf.c +++ b/util-linux/fdisk_osf.c | |||
@@ -46,7 +46,8 @@ | |||
46 | #if defined(i386) || defined(__sparc__) || defined(__arm__) \ | 46 | #if defined(i386) || defined(__sparc__) || defined(__arm__) \ |
47 | || defined(__m68k__) || defined(__mips__) || defined(__s390__) \ | 47 | || defined(__m68k__) || defined(__mips__) || defined(__s390__) \ |
48 | || defined(__s390__) || defined(__s390x__) \ | 48 | || defined(__s390__) || defined(__s390x__) \ |
49 | || defined(__sh__) || defined(__x86_64__) || defined(__avr32__) | 49 | || defined(__sh__) || defined(__x86_64__) || defined(__avr32__) \ |
50 | || defined(__nds32__) | ||
50 | # define BSD_LABELSECTOR 1 | 51 | # define BSD_LABELSECTOR 1 |
51 | # define BSD_LABELOFFSET 0 | 52 | # define BSD_LABELOFFSET 0 |
52 | #elif defined(__alpha__) || defined(__powerpc__) || defined(__ia64__) \ | 53 | #elif defined(__alpha__) || defined(__powerpc__) || defined(__ia64__) \ |