diff options
Diffstat (limited to 'usr/src/uts/sun4u/os/cmp.c')
-rw-r--r-- | usr/src/uts/sun4u/os/cmp.c | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/usr/src/uts/sun4u/os/cmp.c b/usr/src/uts/sun4u/os/cmp.c index b917c8378e..792ccddc6f 100644 --- a/usr/src/uts/sun4u/os/cmp.c +++ b/usr/src/uts/sun4u/os/cmp.c @@ -20,7 +20,7 @@ * CDDL HEADER END */ /* - * Copyright 2005 Sun Microsystems, Inc. All rights reserved. + * Copyright 2006 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ @@ -146,6 +146,15 @@ chip_plat_get_chipid(cpu_t *cp) return (cmp_cpu_to_chip(cp->cpu_id)); } +/* + * We don't have any multi-threaded cores on sun4u yet. + */ +id_t +chip_plat_get_coreid(cpu_t *cp) +{ + return (cp->cpu_id); +} + void chip_plat_define_chip(cpu_t *cp, chip_def_t *cd) { |