From 516f9b2f6d83d9ca21bebfbf000a9a28a90c7e65 Mon Sep 17 00:00:00 2001 From: Michael Shalayeff Date: Tue, 15 Aug 2000 19:50:43 +0000 Subject: compress MD_CACHE_CTL in one line --- sys/arch/hppa/include/cpu.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'sys') diff --git a/sys/arch/hppa/include/cpu.h b/sys/arch/hppa/include/cpu.h index 3f8f48484d8..fe43ccc35fd 100644 --- a/sys/arch/hppa/include/cpu.h +++ b/sys/arch/hppa/include/cpu.h @@ -1,4 +1,4 @@ -/* $OpenBSD: cpu.h,v 1.18 2000/07/02 04:14:45 mickey Exp $ */ +/* $OpenBSD: cpu.h,v 1.19 2000/08/15 19:50:42 mickey Exp $ */ /* * Copyright (c) 2000 Michael Shalayeff @@ -122,9 +122,8 @@ extern const char *cpu_typename; #ifdef _KERNEL #define MD_CACHE_FLUSH 0 #define MD_CACHE_PURGE 1 -#define MD_CACHE_CTL(CACHE_ADDR,CACHE_SIZE,CACHE_FLUSHTYPE) \ - (((CACHE_FLUSHTYPE)? pdcache : fdcache) \ - (HPPA_SID_KERNEL,(vaddr_t)CACHE_ADDR,CACHE_SIZE)) \ +#define MD_CACHE_CTL(a,s,t) \ + (((t)? pdcache : fdcache) (HPPA_SID_KERNEL,(vaddr_t)(a),(s))) #define DELAY(x) delay(x) -- cgit v1.2.3