From 908dcbd2a4c33549443308f85b7631fcec715139 Mon Sep 17 00:00:00 2001 From: "Jordan K. Hubbard" Date: Fri, 16 Oct 1998 10:14:21 +0000 Subject: [PATCH] fixup for alpha. --- sys/kern/subr_disklabel.c | 5 ++++- sys/ufs/ufs/ufs_disksubr.c | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/sys/kern/subr_disklabel.c b/sys/kern/subr_disklabel.c index 99dc70850d65..3eecb303ffd4 100644 --- a/sys/kern/subr_disklabel.c +++ b/sys/kern/subr_disklabel.c @@ -36,7 +36,7 @@ * SUCH DAMAGE. * * @(#)ufs_disksubr.c 8.5 (Berkeley) 1/21/94 - * $Id: ufs_disksubr.c,v 1.35 1998/07/28 18:25:51 bde Exp $ + * $Id: ufs_disksubr.c,v 1.36 1998/09/15 08:55:03 gibbs Exp $ */ #include @@ -305,6 +305,9 @@ writedisklabel(dev, strat, lp) *dlp = *lp; bp->b_flags &= ~(B_DONE | B_READ); bp->b_flags |= B_BUSY | B_WRITE; +#ifdef __alpha__ + alpha_fix_srm_checksum(bp); +#endif (*strat)(bp); error = biowait(bp); goto done; diff --git a/sys/ufs/ufs/ufs_disksubr.c b/sys/ufs/ufs/ufs_disksubr.c index 99dc70850d65..3eecb303ffd4 100644 --- a/sys/ufs/ufs/ufs_disksubr.c +++ b/sys/ufs/ufs/ufs_disksubr.c @@ -36,7 +36,7 @@ * SUCH DAMAGE. * * @(#)ufs_disksubr.c 8.5 (Berkeley) 1/21/94 - * $Id: ufs_disksubr.c,v 1.35 1998/07/28 18:25:51 bde Exp $ + * $Id: ufs_disksubr.c,v 1.36 1998/09/15 08:55:03 gibbs Exp $ */ #include @@ -305,6 +305,9 @@ writedisklabel(dev, strat, lp) *dlp = *lp; bp->b_flags &= ~(B_DONE | B_READ); bp->b_flags |= B_BUSY | B_WRITE; +#ifdef __alpha__ + alpha_fix_srm_checksum(bp); +#endif (*strat)(bp); error = biowait(bp); goto done;