mirror of
https://github.com/sheumann/hush.git
synced 2025-01-03 00:31:16 +00:00
fdisk: add handling of avr32. closes bug 555
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
a43df64eec
commit
e531759ef1
@ -45,18 +45,16 @@
|
|||||||
|
|
||||||
#if defined(i386) || defined(__sparc__) || defined(__arm__) \
|
#if defined(i386) || defined(__sparc__) || defined(__arm__) \
|
||||||
|| defined(__m68k__) || defined(__mips__) || defined(__s390__) \
|
|| defined(__m68k__) || defined(__mips__) || defined(__s390__) \
|
||||||
|| defined(__sh__) || defined(__x86_64__)
|
|| defined(__s390__) || defined(__s390x__) \
|
||||||
#define BSD_LABELSECTOR 1
|
|| defined(__sh__) || defined(__x86_64__) || defined(__avr32__)
|
||||||
#define BSD_LABELOFFSET 0
|
# define BSD_LABELSECTOR 1
|
||||||
|
# define BSD_LABELOFFSET 0
|
||||||
#elif defined(__alpha__) || defined(__powerpc__) || defined(__ia64__) \
|
#elif defined(__alpha__) || defined(__powerpc__) || defined(__ia64__) \
|
||||||
|| defined(__hppa__)
|
|| defined(__hppa__)
|
||||||
#define BSD_LABELSECTOR 0
|
# define BSD_LABELSECTOR 0
|
||||||
#define BSD_LABELOFFSET 64
|
# define BSD_LABELOFFSET 64
|
||||||
#elif defined(__s390__) || defined(__s390x__)
|
|
||||||
#define BSD_LABELSECTOR 1
|
|
||||||
#define BSD_LABELOFFSET 0
|
|
||||||
#else
|
#else
|
||||||
#error unknown architecture
|
# error unknown architecture
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define BSD_BBSIZE 8192 /* size of boot area, with label */
|
#define BSD_BBSIZE 8192 /* size of boot area, with label */
|
||||||
|
Loading…
Reference in New Issue
Block a user