| version 1.160, 2008/04/28 20:24:04 |
version 1.160.2.1, 2008/06/23 04:31:51 |
|
|
| /* $NetBSD$ */ |
/* $NetBSD$ */ |
| |
|
| /*- |
/*- |
| * Copyright (c) 1997, 1999, 2000, 2002, 2007 The NetBSD Foundation, Inc. |
* Copyright (c) 1997, 1999, 2000, 2002, 2007, 2008 The NetBSD Foundation, Inc. |
| * All rights reserved. |
* All rights reserved. |
| * |
* |
| * This code is derived from software contributed to The NetBSD Foundation |
* This code is derived from software contributed to The NetBSD Foundation |
| Line 2390 pool_cache_cpu_exit(pool_cache_cpu_t *cc |
|
| Line 2390 pool_cache_cpu_exit(pool_cache_cpu_t *cc |
|
| KPREEMPT_ENABLE(curlwp); |
KPREEMPT_ENABLE(curlwp); |
| } |
} |
| |
|
| #if __GNUC_PREREQ__(3, 0) |
pool_cache_cpu_t * __noinline |
| __attribute ((noinline)) |
|
| #endif |
|
| pool_cache_cpu_t * |
|
| pool_cache_get_slow(pool_cache_cpu_t *cc, int *s, void **objectp, |
pool_cache_get_slow(pool_cache_cpu_t *cc, int *s, void **objectp, |
| paddr_t *pap, int flags) |
paddr_t *pap, int flags) |
| { |
{ |
| Line 2544 pool_cache_get_paddr(pool_cache_t pc, in |
|
| Line 2541 pool_cache_get_paddr(pool_cache_t pc, in |
|
| return object; |
return object; |
| } |
} |
| |
|
| #if __GNUC_PREREQ__(3, 0) |
pool_cache_cpu_t * __noinline |
| __attribute ((noinline)) |
|
| #endif |
|
| pool_cache_cpu_t * |
|
| pool_cache_put_slow(pool_cache_cpu_t *cc, int *s, void *object, paddr_t pa) |
pool_cache_put_slow(pool_cache_cpu_t *cc, int *s, void *object, paddr_t pa) |
| { |
{ |
| pcg_t *pcg, *cur; |
pcg_t *pcg, *cur; |