[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <aec7e5c30812190202g44020d6ao910f93264e7ccaaa@mail.gmail.com>
Date: Fri, 19 Dec 2008 19:02:46 +0900
From: "Magnus Damm" <magnus.damm@...il.com>
To: "Andrew Morton" <akpm@...ux-foundation.org>
Cc: linux-kernel@...r.kernel.org, davem@...emloft.net
Subject: Re: [PATCH] clocksource: pass clocksource to read() callback
On Fri, Dec 19, 2008 at 5:11 PM, Andrew Morton
<akpm@...ux-foundation.org> wrote:
> It still blows up though. Any call to get_cycles() goes:
>
> crypto/tcrypt.c: In function `test_cipher_cycles':
> crypto/tcrypt.c:107: error: too few arguments to function
> crypto/tcrypt.c:112: error: too few arguments to function
> crypto/tcrypt.c: In function `test_hash_cycles_digest':
> crypto/tcrypt.c:305: error: too few arguments to function
> crypto/tcrypt.c:311: error: too few arguments to function
> crypto/tcrypt.c: In function `test_hash_cycles':
> crypto/tcrypt.c:361: error: too few arguments to function
> crypto/tcrypt.c:375: error: too few arguments to function
>
> because this:
>
> arch/sparc/include/asm/timex_64.h:#define get_cycles() tick_ops->get_tick()
>
> needs help.
Thanks for your help. I've now managed to build a sparc64 compiler and
make a fix. If it's ok with Dave then I think reverting the old
sparc64 hunks and go with a simple wrapper is the best, see the
attached patch.
/ magnus
Download attachment "clocksource-pass-clocksource-to-read-callback-sparc64-fix-replacement.patch" of type "application/octet-stream" (3022 bytes)
Powered by blists - more mailing lists