fixup for alpha.
This commit is contained in:
parent
2f40a12b31
commit
908dcbd2a4
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=40448
@ -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 <sys/param.h>
|
||||
@ -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;
|
||||
|
@ -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 <sys/param.h>
|
||||
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user