On Sun, Oct 24, 2010 at 06:11, Michael Schmitz
<[email protected]> wrote:
> On Fri, Oct 22, 2010 at 10:05 PM, Andreas Schwab <[email protected]> 
> wrote:
>> Michael Schmitz <[email protected]> writes:
>>
>>> +static int __init atari_stram_setup(char *arg)
>>> +{
>>> +        int rc=0;
>>> +
>>> +        if (!MACH_IS_ATARI)
>>> +                return 0;
>>> +
>>> +        if (!(rc = sscanf(arg, "%d", &pool_size))) {
>>
>>           pool_size = memparse(arg, NULL);
>
> Thanks, that's a lot more elegant.

Applied, but I'm wondering if there's no way to reuse an existing
allocator instead
of writing our own...

Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds
--
To unsubscribe from this list: send the line "unsubscribe linux-m68k" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to