diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2013-11-26 20:33:21 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2013-11-26 20:33:21 +0000 |
commit | adaa84b5b57cf328ccf6e345b38ec6706c692895 (patch) | |
tree | 7981ac434a72299baff1a6d37d0dc095dac8ffec /sys/arch/hppa/dev | |
parent | a259a6aeceab099f25670e0fbdd7d90fa1ec9bfa (diff) |
1 << 31 cleanup. Eitan Adler pointed out that there has been a
resurrection of the bad idiom in the tree.
sufficient review by miod, kettenis, tedu
Diffstat (limited to 'sys/arch/hppa/dev')
-rw-r--r-- | sys/arch/hppa/dev/cpu.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/hppa/dev/cpu.c b/sys/arch/hppa/dev/cpu.c index dd1b3d3aaf6..32b40cfa07f 100644 --- a/sys/arch/hppa/dev/cpu.c +++ b/sys/arch/hppa/dev/cpu.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cpu.c,v 1.39 2011/01/02 20:41:22 kettenis Exp $ */ +/* $OpenBSD: cpu.c,v 1.40 2013/11/26 20:33:12 deraadt Exp $ */ /* * Copyright (c) 1998-2003 Michael Shalayeff @@ -250,12 +250,12 @@ cpu_hatch(void) hppa_ipi_init(ci); /* Initialise clock. */ - mtctl((1 << 31), CR_EIRR); + mtctl((1U << 31), CR_EIRR); mfctl(CR_ITMR, itmr); ci->ci_itmr = itmr; itmr += cpu_hzticks; mtctl(itmr, CR_ITMR); - ci->ci_mask |= (1 << 31); + ci->ci_mask |= (1U << 31); /* Enable interrupts. */ mtctl(ci->ci_mask, CR_EIEM); |