Re: [PATCH] m68k atari: reserve some ST-RAM early on for device buffer use (was: Re: Aranym, more than 244MB FastRAM, garbled display)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Oct 24, 2010 at 06:11, Michael Schmitz
<schmitzmic@xxxxxxxxxxxxxx> wrote:
On Fri, Oct 22, 2010 at 10:05 PM, Andreas Schwab <schwab@xxxxxxxxxxxxxx> wrote:
Michael Schmitz <schmitzmic@xxxxxxxxxxxxxx> 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 -- geert@xxxxxxxxxxxxxx

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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Video for Linux]     [Yosemite News]     [Linux S/390]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux