diff options
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/amd64/amd64/cpu.c | 4 | ||||
-rw-r--r-- | sys/arch/amd64/amd64/intr.c | 4 | ||||
-rw-r--r-- | sys/arch/amd64/amd64/mpbios.c | 4 | ||||
-rw-r--r-- | sys/arch/amd64/include/mutex.h | 6 | ||||
-rw-r--r-- | sys/arch/arm/arm/pmap.c | 4 | ||||
-rw-r--r-- | sys/arch/arm/xscale/pxa2x0_space.c | 6 | ||||
-rw-r--r-- | sys/arch/hppa/hppa/trap.c | 4 | ||||
-rw-r--r-- | sys/arch/hppa64/hppa64/trap.c | 4 | ||||
-rw-r--r-- | sys/arch/i386/i386/cpu.c | 6 | ||||
-rw-r--r-- | sys/arch/i386/i386/mpbios.c | 4 | ||||
-rw-r--r-- | sys/arch/i386/include/mutex.h | 6 | ||||
-rw-r--r-- | sys/arch/luna88k/luna88k/isr.c | 4 | ||||
-rw-r--r-- | sys/arch/mac68k/dev/esp.c | 4 | ||||
-rw-r--r-- | sys/arch/mips64/mips64/interrupt.c | 4 | ||||
-rw-r--r-- | sys/arch/mvme88k/dev/bussw.c | 4 | ||||
-rw-r--r-- | sys/arch/mvme88k/dev/pcctwo.c | 4 | ||||
-rw-r--r-- | sys/arch/mvme88k/dev/syscon.c | 4 | ||||
-rw-r--r-- | sys/arch/sgi/localbus/macebus.c | 4 | ||||
-rw-r--r-- | sys/arch/solbourne/solbourne/trap.c | 4 |
19 files changed, 42 insertions, 42 deletions
diff --git a/sys/arch/amd64/amd64/cpu.c b/sys/arch/amd64/amd64/cpu.c index 0913c81fc38..cf12178674d 100644 --- a/sys/arch/amd64/amd64/cpu.c +++ b/sys/arch/amd64/amd64/cpu.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cpu.c,v 1.8 2005/05/24 09:30:32 deraadt Exp $ */ +/* $OpenBSD: cpu.c,v 1.9 2005/07/18 02:43:24 fgsch Exp $ */ /* $NetBSD: cpu.c,v 1.1 2003/04/26 18:39:26 fvdl Exp $ */ /*- @@ -361,7 +361,7 @@ cpu_attach(parent, self, aux) break; default: - panic("unknown processor type??\n"); + panic("unknown processor type??"); } cpu_vm_init(ci); diff --git a/sys/arch/amd64/amd64/intr.c b/sys/arch/amd64/amd64/intr.c index 703cc3caf47..d8b96d185f7 100644 --- a/sys/arch/amd64/amd64/intr.c +++ b/sys/arch/amd64/amd64/intr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: intr.c,v 1.8 2005/05/28 05:15:18 niklas Exp $ */ +/* $OpenBSD: intr.c,v 1.9 2005/07/18 02:43:24 fgsch Exp $ */ /* $NetBSD: intr.c,v 1.3 2003/03/03 22:16:20 fvdl Exp $ */ /* @@ -415,7 +415,7 @@ intr_establish(int legacy_irq, struct pic *pic, int pin, int type, int level, break; default: simple_unlock(&ci->ci_slock); - panic("intr_establish: bad intr type %d for pic %s pin %d\n", + panic("intr_establish: bad intr type %d for pic %s pin %d", source->is_type, pic->pic_dev.dv_xname, pin); } diff --git a/sys/arch/amd64/amd64/mpbios.c b/sys/arch/amd64/amd64/mpbios.c index e9b8cd67f86..dde327e3d0b 100644 --- a/sys/arch/amd64/amd64/mpbios.c +++ b/sys/arch/amd64/amd64/mpbios.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mpbios.c,v 1.1 2004/06/25 11:03:27 art Exp $ */ +/* $OpenBSD: mpbios.c,v 1.2 2005/07/18 02:43:24 fgsch Exp $ */ /* $NetBSD: mpbios.c,v 1.7 2003/05/15 16:32:50 fvdl Exp $ */ /*- @@ -918,7 +918,7 @@ mpbios_bus(ent, self) * from underneath us */ if (bus_id >= mp_nbus) { - panic("mpbios: bus number %d out of range?? (type %6.6s)\n", + panic("mpbios: bus number %d out of range?? (type %6.6s)", bus_id, entry->bus_type); } #endif diff --git a/sys/arch/amd64/include/mutex.h b/sys/arch/amd64/include/mutex.h index 94ceb969ae2..1c712e87bce 100644 --- a/sys/arch/amd64/include/mutex.h +++ b/sys/arch/amd64/include/mutex.h @@ -1,4 +1,4 @@ -/* $OpenBSD: mutex.h,v 1.2 2005/04/08 07:07:06 jolan Exp $ */ +/* $OpenBSD: mutex.h,v 1.3 2005/07/18 02:43:24 fgsch Exp $ */ /* * Copyright (c) 2004 Artur Grabowski <art@openbsd.org> @@ -37,12 +37,12 @@ struct mutex { #define MUTEX_ASSERT_LOCKED(mtx) do { \ if ((mtx)->mtx_owner != curcpu()) \ - panic("mutex %p not held in %s\n", (mtx), __func__); \ + panic("mutex %p not held in %s", (mtx), __func__); \ } while (0) #define MUTEX_ASSERT_UNLOCKED(mtx) do { \ if ((mtx)->mtx_owner == curcpu()) \ - panic("mutex %p held in %s\n", (mtx), __func__); \ + panic("mutex %p held in %s", (mtx), __func__); \ } while (0) #define MUTEX_OLDIPL(mtx) (mtx)->mtx_oldipl diff --git a/sys/arch/arm/arm/pmap.c b/sys/arch/arm/arm/pmap.c index a102bc344c9..0721d7c766e 100644 --- a/sys/arch/arm/arm/pmap.c +++ b/sys/arch/arm/arm/pmap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pmap.c,v 1.5 2005/02/01 15:41:24 drahn Exp $ */ +/* $OpenBSD: pmap.c,v 1.6 2005/07/18 02:43:24 fgsch Exp $ */ /* $NetBSD: pmap.c,v 1.147 2004/01/18 13:03:50 scw Exp $ */ /* @@ -4048,7 +4048,7 @@ pmap_set_pt_cache_mode(pd_entry_t *kl1, vaddr_t va) pa = (paddr_t)(pde & L1_C_ADDR_MASK); ptep = (pt_entry_t *)kernel_pt_lookup(pa); if (ptep == NULL) - panic("pmap_bootstrap: No L2 for L2 @ va %p\n", ptep); + panic("pmap_bootstrap: No L2 for L2 @ va %p", ptep); ptep = &ptep[l2pte_index(va)]; pte = *ptep; diff --git a/sys/arch/arm/xscale/pxa2x0_space.c b/sys/arch/arm/xscale/pxa2x0_space.c index db64d578459..e49c338ba74 100644 --- a/sys/arch/arm/xscale/pxa2x0_space.c +++ b/sys/arch/arm/xscale/pxa2x0_space.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pxa2x0_space.c,v 1.2 2005/01/02 19:52:36 drahn Exp $ */ +/* $OpenBSD: pxa2x0_space.c,v 1.3 2005/07/18 02:43:24 fgsch Exp $ */ /* $NetBSD: pxa2x0_space.c,v 1.5 2004/06/07 19:45:22 nathanw Exp $ */ /* @@ -256,13 +256,13 @@ pxa2x0_bs_alloc(void *t, bus_addr_t rstart, bus_addr_t rend, bus_addr_t *bpap, bus_space_handle_t *bshp) { - panic("pxa2x0_io_bs_alloc(): not implemented\n"); + panic("pxa2x0_io_bs_alloc(): not implemented"); } void pxa2x0_bs_free(void *t, bus_space_handle_t bsh, bus_size_t size) { - panic("pxa2x0_io_bs_free(): not implemented\n"); + panic("pxa2x0_io_bs_free(): not implemented"); } diff --git a/sys/arch/hppa/hppa/trap.c b/sys/arch/hppa/hppa/trap.c index 63b6043e42f..2273df5d94e 100644 --- a/sys/arch/hppa/hppa/trap.c +++ b/sys/arch/hppa/hppa/trap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: trap.c,v 1.86 2005/05/26 04:34:52 kettenis Exp $ */ +/* $OpenBSD: trap.c,v 1.87 2005/07/18 02:43:25 fgsch Exp $ */ /* * Copyright (c) 1998-2004 Michael Shalayeff @@ -423,7 +423,7 @@ trap(type, frame) sv.sival_int = va; trapsignal(p, SIGILL, type & ~T_USER, ILL_ILLTRP, sv); } else - panic("trap: %s @ 0x%x:0x%x for 0x%x:0x%x irr 0x%08x\n", + panic("trap: %s @ 0x%x:0x%x for 0x%x:0x%x irr 0x%08x", tts, frame->tf_iisq_head, frame->tf_iioq_head, space, va, opcode); break; diff --git a/sys/arch/hppa64/hppa64/trap.c b/sys/arch/hppa64/hppa64/trap.c index e0046725ad1..0518adc001c 100644 --- a/sys/arch/hppa64/hppa64/trap.c +++ b/sys/arch/hppa64/hppa64/trap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: trap.c,v 1.1 2005/04/01 10:40:47 mickey Exp $ */ +/* $OpenBSD: trap.c,v 1.2 2005/07/18 02:43:25 fgsch Exp $ */ /* * Copyright (c) 2005 Michael Shalayeff @@ -388,7 +388,7 @@ trap(type, frame) sv.sival_int = va; trapsignal(p, SIGILL, type & ~T_USER, ILL_ILLTRP, sv); } else - panic("trap: %s @ 0x%x:0x%x for 0x%x:0x%x irr 0x%08x\n", + panic("trap: %s @ 0x%x:0x%x for 0x%x:0x%x irr 0x%08x", tts, frame->tf_iisq[0], frame->tf_iioq[0], space, va, opcode); break; diff --git a/sys/arch/i386/i386/cpu.c b/sys/arch/i386/i386/cpu.c index 8f1db080dd7..304f54eea91 100644 --- a/sys/arch/i386/i386/cpu.c +++ b/sys/arch/i386/i386/cpu.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cpu.c,v 1.14 2005/05/27 10:41:11 kjell Exp $ */ +/* $OpenBSD: cpu.c,v 1.15 2005/07/18 02:43:25 fgsch Exp $ */ /* $NetBSD: cpu.c,v 1.1.2.7 2000/06/26 02:04:05 sommerfeld Exp $ */ /*- @@ -200,7 +200,7 @@ cpu_attach(parent, self, aux) if (caa->cpu_role != CPU_ROLE_AP) { if (cpunum != cpu_number()) { panic("%s: running cpu is at apic %d" - " instead of at expected %d\n", + " instead of at expected %d", self->dv_xname, cpu_number(), cpunum); } @@ -303,7 +303,7 @@ cpu_attach(parent, self, aux) break; default: - panic("unknown processor type??\n"); + panic("unknown processor type??"); } /* Mark this ID as taken if it's in the I/O APIC ID area */ diff --git a/sys/arch/i386/i386/mpbios.c b/sys/arch/i386/i386/mpbios.c index ff61d282f6c..ae005df469c 100644 --- a/sys/arch/i386/i386/mpbios.c +++ b/sys/arch/i386/i386/mpbios.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mpbios.c,v 1.3 2004/06/23 17:14:31 niklas Exp $ */ +/* $OpenBSD: mpbios.c,v 1.4 2005/07/18 02:43:25 fgsch Exp $ */ /* $NetBSD: mpbios.c,v 1.2 2002/10/01 12:56:57 fvdl Exp $ */ /*- @@ -934,7 +934,7 @@ mpbios_bus(ent, self) * from underneath us */ if (bus_id >= mp_nbus) { - panic("%s: bus number %d out of range?? (type %6.6s)\n", + panic("%s: bus number %d out of range?? (type %6.6s)", self->dv_xname, bus_id, entry->bus_type); } #endif diff --git a/sys/arch/i386/include/mutex.h b/sys/arch/i386/include/mutex.h index c92469dcf7b..044ab5087ad 100644 --- a/sys/arch/i386/include/mutex.h +++ b/sys/arch/i386/include/mutex.h @@ -1,4 +1,4 @@ -/* $OpenBSD: mutex.h,v 1.2 2005/04/08 07:07:06 jolan Exp $ */ +/* $OpenBSD: mutex.h,v 1.3 2005/07/18 02:43:25 fgsch Exp $ */ /* * Copyright (c) 2004 Artur Grabowski <art@openbsd.org> @@ -43,13 +43,13 @@ struct mutex { #define MUTEX_ASSERT_LOCKED(mtx) do { \ if ((mtx)->mtx_lock != 1 || \ (mtx)->mtx_owner != curcpu()) \ - panic("mutex %p not held in %s\n", (mtx), __func__); \ + panic("mutex %p not held in %s", (mtx), __func__); \ } while (0) #define MUTEX_ASSERT_UNLOCKED(mtx) do { \ if ((mtx)->mtx_lock == 1 && \ (mtx)->mtx_owner == curcpu()) \ - panic("mutex %p held in %s\n", (mtx), __func__); \ + panic("mutex %p held in %s", (mtx), __func__); \ } while (0) #define MUTEX_OLDIPL(mtx) (mtx)->mtx_oldipl diff --git a/sys/arch/luna88k/luna88k/isr.c b/sys/arch/luna88k/luna88k/isr.c index d619b7b8113..b48ac261b68 100644 --- a/sys/arch/luna88k/luna88k/isr.c +++ b/sys/arch/luna88k/luna88k/isr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: isr.c,v 1.4 2004/12/25 23:02:24 miod Exp $ */ +/* $OpenBSD: isr.c,v 1.5 2005/07/18 02:43:25 fgsch Exp $ */ /* $NetBSD: isr.c,v 1.5 2000/07/09 08:08:20 nisimura Exp $ */ /*- @@ -158,7 +158,7 @@ isrdispatch_autovec(int ipl) #ifdef DIAGNOSTIC if (ipl < 0 || ipl >= NISRAUTOVEC) - panic("isrdispatch_autovec: bad ipl 0x%d\n", ipl); + panic("isrdispatch_autovec: bad ipl 0x%d", ipl); #endif #if 0 /* XXX: already counted in machdep.c */ diff --git a/sys/arch/mac68k/dev/esp.c b/sys/arch/mac68k/dev/esp.c index eccae605de7..2a294b8942e 100644 --- a/sys/arch/mac68k/dev/esp.c +++ b/sys/arch/mac68k/dev/esp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: esp.c,v 1.20 2004/12/10 18:23:23 martin Exp $ */ +/* $OpenBSD: esp.c,v 1.21 2005/07/18 02:43:25 fgsch Exp $ */ /* $NetBSD: esp.c,v 1.17 1998/09/05 15:15:35 pk Exp $ */ /* @@ -509,7 +509,7 @@ esp_quick_dma_intr(sc) int trans=0, resid=0; if (esc->sc_active == 0) - panic("dma_intr--inactive DMA\n"); + panic("dma_intr--inactive DMA"); esc->sc_active = 0; diff --git a/sys/arch/mips64/mips64/interrupt.c b/sys/arch/mips64/mips64/interrupt.c index 9ec488eb381..e6d57c52063 100644 --- a/sys/arch/mips64/mips64/interrupt.c +++ b/sys/arch/mips64/mips64/interrupt.c @@ -1,4 +1,4 @@ -/* $OpenBSD: interrupt.c,v 1.15 2005/06/07 02:29:30 henning Exp $ */ +/* $OpenBSD: interrupt.c,v 1.16 2005/07/18 02:43:25 fgsch Exp $ */ /* * Copyright (c) 2001-2004 Opsycon AB (www.opsycon.se / www.opsycon.com) @@ -342,7 +342,7 @@ static int initialized = 0; } if (irq > 62 || irq < 1) { - panic("intr_establish: illegal irq %d\n", irq); + panic("intr_establish: illegal irq %d", irq); } irq += 1; /* Adjust for softint 1 and 0 */ diff --git a/sys/arch/mvme88k/dev/bussw.c b/sys/arch/mvme88k/dev/bussw.c index 67adc2d4667..1258509c9c3 100644 --- a/sys/arch/mvme88k/dev/bussw.c +++ b/sys/arch/mvme88k/dev/bussw.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bussw.c,v 1.15 2004/07/30 19:02:05 miod Exp $ */ +/* $OpenBSD: bussw.c,v 1.16 2005/07/18 02:43:25 fgsch Exp $ */ /* * Copyright (c) 1999 Steve Murphree, Jr. * @@ -178,7 +178,7 @@ busswintr_establish(int vec, struct intrhand *ih, const char *name) { #ifdef DIAGNOSTIC if (vec < 0 || vec >= BS_NVEC) - panic("busswintr_establish: illegal vector 0x%x\n", vec); + panic("busswintr_establish: illegal vector 0x%x", vec); #endif return intr_establish(BS_VECBASE + vec, ih, name); diff --git a/sys/arch/mvme88k/dev/pcctwo.c b/sys/arch/mvme88k/dev/pcctwo.c index 1666c8e2009..f1b82b345e4 100644 --- a/sys/arch/mvme88k/dev/pcctwo.c +++ b/sys/arch/mvme88k/dev/pcctwo.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pcctwo.c,v 1.26 2004/07/30 19:02:06 miod Exp $ */ +/* $OpenBSD: pcctwo.c,v 1.27 2005/07/18 02:43:25 fgsch Exp $ */ /* * Copyright (c) 1995 Theo de Raadt * All rights reserved. @@ -188,7 +188,7 @@ pcctwointr_establish(int vec, struct intrhand *ih, const char *name) { #ifdef DIAGNOSTIC if (vec < 0 || vec >= PCC2_NVEC) - panic("pcctwo_establish: illegal vector 0x%x\n", vec); + panic("pcctwo_establish: illegal vector 0x%x", vec); #endif return intr_establish(PCC2_VECBASE + vec, ih, name); diff --git a/sys/arch/mvme88k/dev/syscon.c b/sys/arch/mvme88k/dev/syscon.c index 4c74cccebec..4a09e3998fd 100644 --- a/sys/arch/mvme88k/dev/syscon.c +++ b/sys/arch/mvme88k/dev/syscon.c @@ -1,4 +1,4 @@ -/* $OpenBSD: syscon.c,v 1.22 2004/08/02 08:35:00 miod Exp $ */ +/* $OpenBSD: syscon.c,v 1.23 2005/07/18 02:43:25 fgsch Exp $ */ /* * Copyright (c) 1999 Steve Murphree, Jr. * All rights reserved. @@ -165,7 +165,7 @@ sysconintr_establish(int vec, struct intrhand *ih, const char *name) { #ifdef DIAGNOSTIC if (vec < 0 || vec >= SYSCON_NVEC) - panic("sysconintr_establish: illegal vector 0x%x\n", vec); + panic("sysconintr_establish: illegal vector 0x%x", vec); #endif return intr_establish(SYSCON_VECT + vec, ih, name); diff --git a/sys/arch/sgi/localbus/macebus.c b/sys/arch/sgi/localbus/macebus.c index d91bcb58da2..1e65422c093 100644 --- a/sys/arch/sgi/localbus/macebus.c +++ b/sys/arch/sgi/localbus/macebus.c @@ -1,4 +1,4 @@ -/* $OpenBSD: macebus.c,v 1.11 2005/01/31 21:35:50 grange Exp $ */ +/* $OpenBSD: macebus.c,v 1.12 2005/07/18 02:43:25 fgsch Exp $ */ /* * Copyright (c) 2000-2004 Opsycon AB (www.opsycon.se) @@ -463,7 +463,7 @@ macebus_intr_establish(void *icp, u_long irq, int type, int level, } if (irq > 62 || irq < 1) { - panic("intr_establish: illegal irq %d\n", irq); + panic("intr_establish: illegal irq %d", irq); } irq -= 1; /* Adjust for 1 being first (0 is no int) */ diff --git a/sys/arch/solbourne/solbourne/trap.c b/sys/arch/solbourne/solbourne/trap.c index 33222dfa6ee..a6cbdc71625 100644 --- a/sys/arch/solbourne/solbourne/trap.c +++ b/sys/arch/solbourne/solbourne/trap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: trap.c,v 1.2 2005/04/21 04:39:35 mickey Exp $ */ +/* $OpenBSD: trap.c,v 1.3 2005/07/18 02:43:26 fgsch Exp $ */ /* OpenBSD: trap.c,v 1.42 2004/12/06 20:12:25 miod Exp */ /* @@ -702,7 +702,7 @@ mem_access_fault(type, ser, v, pc, psr, tf) * or a bus timeout. * XXX should restart the operation if retry timeout. */ - panic("data fault: fcr %b isr %b pc %08x addr %08x fpar %08x fpsr %08x\n", + panic("data fault: fcr %b isr %b pc %08x addr %08x fpar %08x fpsr %08x", ser, FCR_BITS, isr, ISR_BITS, pc, v, lda(0, ASI_FPAR), lda(0, ASI_FPSR)); } |