linux-mips
[Top] [All Lists]

info needed for check_bugs

To: linux-mips@linux-mips.org, kernelnewbies@nl.linux.org
Subject: info needed for check_bugs
From: naveen yadav <yad.naveen@gmail.com>
Date: Mon, 7 Jun 2010 18:22:47 +0530
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=wD1GWUltj1NUjG05+EaxyP39pJsraWlm3yF4E14mMu0=; b=QJ10cErB+HV41uUnBRR4zawQ0CcEjK6BMdG7D1Wt1dqS6Utta/lIwuCikU3sozF7om LrYRLom5ylrD1fSm56dfNE99omA1WoHLNTL3+6Kl6TZwubPFt1B6ZJWK8G6ZHf7iIctL caSAKIj8qIuW8SNy1qbsoZxZDTmmt6i5m0d84=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=tzITshvZ9EHa81Ngq48ECx+MOIqPVoEip5nsA4p1M41annXDuTDMVn4BvnxqJmmk8X o+ZBww5sDV9reHbjXBwEpX3cI8NrQub5UnHekI4/84RtS7ITraIybbgYAjhZu2lygVZC hjfom5KHYixbY28btE0nt07pq4kDT17su6D5I=
Sender: linux-mips-bounce@linux-mips.org
Hi all ,

I am porting 2.6.30.9 to MIPS target. The target boot well, but when
it reaches to check_bugs() function.
static inline void check_bugs(void)
{
        unsigned int cpu ;
        cpu = smp_processor_id();
        cpu_data[cpu].udelay_val = loops_per_jiffy;
        check_bugs32();
#ifdef CONFIG_64BIT
        check_bugs64();
#endif
}

the debug outupt print to screen become very slow. kernel boots but it
print one char in 1 min.

When i change above function as

static inline void check_bugs(void)
{
        unsigned int cpu ;
        cpu = smp_processor_id();
        //cpu_data[cpu].udelay_val = loops_per_jiffy;
        check_bugs32();
#ifdef CONFIG_64BIT
        check_bugs64();
#endif
}

it works fine. Is there any side effect with this. ?

or how can i fix this issue.

<Prev in Thread] Current Thread [Next in Thread>