From owner-freebsd-current Tue Oct 2 20: 1:17 2001 Delivered-To: freebsd-current@freebsd.org Received: from nasu.utsunomiya-u.ac.jp (nasu.utsunomiya-u.ac.jp [160.12.128.3]) by hub.freebsd.org (Postfix) with ESMTP id B207637B406 for ; Tue, 2 Oct 2001 20:01:12 -0700 (PDT) Received: from nantai.utsunomiya-u.ac.jp by nasu.utsunomiya-u.ac.jp (8.11.2/1.1.29.3/26Jan01-1134AM) id f9330E509557; Wed, 3 Oct 2001 12:00:14 +0900 (JST) Received: from zodiac.mech.utsunomiya-u.ac.jp by nantai.utsunomiya-u.ac.jp (8.11.2/1.1.29.3/30Jan01-0241PM) id f9330EQ429664; Wed, 3 Oct 2001 12:00:14 +0900 (JST) Received: from zodiac.mech.utsunomiya-u.ac.jp (IDENT:QNmN3B7oHRufWQBxQCxV2EUNhQ2o+3vl@zodiac.mech.utsunomiya-u.ac.jp [160.12.43.7]) by zodiac.mech.utsunomiya-u.ac.jp (8.9.3+3.2W/3.7W/zodiac-May2000) with ESMTP id MAA13836; Wed, 3 Oct 2001 12:10:09 +0900 (JST) Message-Id: <200110030310.MAA13836@zodiac.mech.utsunomiya-u.ac.jp> To: current@freebsd.org Cc: yokota@zodiac.mech.utsunomiya-u.ac.jp Subject: How to distinguish the SMP kernel and the UP kernel Date: Wed, 03 Oct 2001 12:10:08 +0900 From: Kazutaka YOKOTA Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Is there any way for the loadable module to detect if the kernel is configured for SMP or UP? Kazu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message