silly style fixes
This commit is contained in:
parent
ace35eeb88
commit
2a85676fa5
|
@ -43,10 +43,13 @@
|
|||
|
||||
#define BSD_LINUX_BOOTDIR "/usr/ucb/mdec"
|
||||
|
||||
#if defined (i386) || defined (__sparc__) || defined (__arm__) || defined (__m68k__) || defined (__mips__) || defined (__s390__) || defined (__sh__) || defined(__x86_64__)
|
||||
#if defined(i386) || defined(__sparc__) || defined(__arm__) \
|
||||
|| defined(__m68k__) || defined(__mips__) || defined(__s390__) \
|
||||
|| defined(__sh__) || defined(__x86_64__)
|
||||
#define BSD_LABELSECTOR 1
|
||||
#define BSD_LABELOFFSET 0
|
||||
#elif defined (__alpha__) || defined (__powerpc__) || defined (__ia64__) || defined (__hppa__)
|
||||
#elif defined(__alpha__) || defined(__powerpc__) || defined(__ia64__) \
|
||||
|| defined(__hppa__)
|
||||
#define BSD_LABELSECTOR 0
|
||||
#define BSD_LABELOFFSET 64
|
||||
#elif defined(__s390__) || defined(__s390x__)
|
||||
|
@ -887,13 +890,13 @@ xbsd_initlabel(struct partition *p, struct xbsd_disklabel *d)
|
|||
|
||||
#if !defined(__alpha__)
|
||||
d->d_npartitions = 4;
|
||||
pp = &d->d_partitions[2]; /* Partition C should be
|
||||
the NetBSD partition */
|
||||
pp = &d->d_partitions[2]; /* Partition C should be NetBSD partition */
|
||||
|
||||
pp->p_offset = get_start_sect(p);
|
||||
pp->p_size = get_nr_sects(p);
|
||||
pp->p_fstype = BSD_FS_UNUSED;
|
||||
pp = &d->d_partitions[3]; /* Partition D should be
|
||||
the whole disk */
|
||||
pp = &d->d_partitions[3]; /* Partition D should be whole disk */
|
||||
|
||||
pp->p_offset = 0;
|
||||
pp->p_size = d->d_secperunit;
|
||||
pp->p_fstype = BSD_FS_UNUSED;
|
||||
|
@ -1026,10 +1029,6 @@ xbsd_link_part(void)
|
|||
|
||||
#if defined(__alpha__)
|
||||
|
||||
#if !defined(__GLIBC__)
|
||||
typedef unsigned long long uint64_t;
|
||||
#endif
|
||||
|
||||
static void
|
||||
alpha_bootblock_checksum(char *boot)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue
Block a user