PROBLEM: Unselectable code in ./arch/m68k/sun3/prom/init.c
A message that is not in the archive (sent off-list or not yet received): [email protected]
Hi Sarah,
Quoted 13 lines · Sarah Nadi
Summary: Code block dead in
./arch/m68k/sun3/prom/init.cbecause file only gets compiled ifCONFIG_SUN3is enabled.Problem Description:
Code block below in file./arch/m68k/sun3/prom/init.cis only compiled ifCONFIG_SUN3is not enabled, while the file is compiled ifCONFIG_SUN3is enabled which means that this code block is dead. Seems that this block has always been around, and still exists in the latest release.In
./arch/m68k/Makefile: core-$(CONFIG_SUN3) +=arch/m68k/sun3/arch/m68k/sun3/prom/
In./arch/m68k/sun3/prom/init.c:
Quoted 6 lines
#ifndef
CONFIG_SUN3
switch(romvec->pv_romvers){#endif
Should this code be removed, or should the condition be changed?
Thanks! This code was copied from SPARC, but isn't relevant for the supported Sun-3 platforms. I'll remove it.
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