Remove some lint.

This commit is contained in:
thorpej 1998-08-01 21:12:32 +00:00
parent 250dd33583
commit bf8f319d0e
2 changed files with 7 additions and 7 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: kvm_alpha.c,v 1.12 1998/06/30 20:29:39 thorpej Exp $ */
/* $NetBSD: kvm_alpha.c,v 1.13 1998/08/01 21:17:12 thorpej Exp $ */
/*
* Copyright (c) 1994, 1995 Carnegie-Mellon University.
@ -75,10 +75,10 @@ _kvm_initvtop(kd)
cpu_kh = kd->cpu_data;
/* Compute page_shift. */
for (vm->page_shift = 0; (1 << vm->page_shift) < cpu_kh->page_size;
for (vm->page_shift = 0; (1L << vm->page_shift) < cpu_kh->page_size;
vm->page_shift++)
/* nothing */ ;
if ((1 << vm->page_shift) != cpu_kh->page_size) {
if ((1L << vm->page_shift) != cpu_kh->page_size) {
free(vm);
return (-1);
}
@ -95,9 +95,9 @@ _kvm_kvatop(kd, va, pa)
{
cpu_kcore_hdr_t *cpu_kh;
struct vmstate *vm;
int rv, page_off;
alpha_pt_entry_t pte;
off_t pteoff;
u_long pteoff, page_off;
int rv;
if (ISALIVE(kd)) {
_kvm_err(kd, 0, "vatop called in live kernel!");

View File

@ -1,4 +1,4 @@
/* $NetBSD: pte.h,v 1.23 1998/07/08 17:19:46 thorpej Exp $ */
/* $NetBSD: pte.h,v 1.24 1998/08/01 21:12:32 thorpej Exp $ */
/*-
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@ -118,7 +118,7 @@ typedef alpha_pt_entry_t pt_entry_t;
#if defined(_KERNEL) || defined(__KVM_ALPHA_PRIVATE)
#define NPTEPG_SHIFT (PAGE_SHIFT - PTESHIFT)
#define NPTEPG (1 << NPTEPG_SHIFT)
#define NPTEPG (1L << NPTEPG_SHIFT)
#define PTEMASK (NPTEPG - 1)