]> git.baikalelectronics.ru Git - kernel.git/commit
sparc32: drop swapper_pg_dir
authorSam Ravnborg <sam@ravnborg.org>
Thu, 26 Jul 2012 11:02:16 +0000 (11:02 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 26 Jul 2012 23:46:15 +0000 (16:46 -0700)
commit1214160ef13183828104f6e33b5599ceb22fd68f
treee1c7b96bd1a57e586df4534b4682f521774bcd13
parent74cf05fbea3c33e857d28dbf77cd8805d8e60030
sparc32: drop swapper_pg_dir

We save one page of RAM dropping swapper_pg_dir.
It was only used for an assignment in init-mm.c and we
redid this later in srmmu.c anyway.

This is likely a left-over from the sun4c removal.

To avoid a dummy variable we use a simple #define swapper_pg_dir NULL

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/include/asm/pgtable_32.h
arch/sparc/kernel/head_32.S