From mboxrd@z Thu Jan 1 00:00:00 1970 Reply-To: From: "ZhongJun Zhou" To: Subject: kernel memory mapping problem Date: Thu, 7 Feb 2002 11:21:13 +0800 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" In-Reply-To: <3F31161C.6000901@dgt-lab.com.pl> Sender: owner-linuxppc-embedded@lists.linuxppc.org List-Id: Dear all, I have a problem that : the function is : int func() { unsigned char tmp[10]; unsigned char * p; p = __pa(tmp); ... pI2cRxBD -> bd_addr = p; ... ... } when run this module( lsmod mymodule.o ), kernel is always dead. Are there any errors of this function ? Any help is appreciated! John Zhou ** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/