From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.183]) by ozlabs.org (Postfix) with ESMTP id 4D41BDDE29 for ; Sat, 10 Nov 2007 07:39:35 +1100 (EST) Received: by wa-out-1112.google.com with SMTP id m28so785343wag for ; Fri, 09 Nov 2007 12:39:34 -0800 (PST) Message-ID: Date: Fri, 9 Nov 2007 15:39:34 -0500 From: "Mike Nuss" Sender: mikenuss@gmail.com To: linuxppc-dev@ozlabs.org Subject: Using PVR value after boot? MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , I'm writing a module for the Security/KASUMI function on the PPC440EPx-S and PPC440GRx-S. This relies on checking the PVR value at runtime, which is done early on in the boot process. What would be the correct way to check which CPU is present during module initialization? Thanks, Mike