Linux PARISC architecture development
 help / color / mirror / Atom feed
* [parisc-linux] __hp9000s700 predefined
@ 2000-10-11  7:04 Grant Grundler
  2000-10-11 14:44 ` David Huggins-Daines
  2000-10-11 15:31 ` John David Anglin
  0 siblings, 2 replies; 10+ messages in thread
From: Grant Grundler @ 2000-10-11  7:04 UTC (permalink / raw)
  To: parisc-linux

Hi all,
I was looking at how to properly ifdef code for parisc-linunx
and it seems that "#ifdef __hppa__" is "the right way" to do this.

Currently two files use ifdef CONFIG_PARISC: genrtc.c and hilkdb.c
Randolf (tausq) is fixing genrtc.c.
Any volunteers (ie 715/50 or 715/33 owners) for hilkdb.c?

But Randolf also noted that gcc predefines a few other things:
	-D__hp9000s700 -D_PA_RISC1_1

John Marvin suggested we remove the __hp9000s700 from the pa-linux
config files since it's HPUX crud. I think he's right since parisc-linux
kernels are intended to run on both 700's and 800's.
parisc-linux configs functionality in/out based on CONFIG_XXX flags
or run-time checks (ie register_driver()).
Can we remove the "-D__hp9000s700" from gcc/gcc/config/pa/pa-linux.h?

Similarly, gcc/gcc/config/pa/pa-linux64.h has "-D__hp9000s800"
which could/should be removed at the same time.

Any other thoughts on this?

thanks,
grant

^ permalink raw reply	[flat|nested] 10+ messages in thread
[parent not found: <no.id>]

end of thread, other threads:[~2000-10-11 22:39 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-10-11  7:04 [parisc-linux] __hp9000s700 predefined Grant Grundler
2000-10-11 14:44 ` David Huggins-Daines
2000-10-11 15:31 ` John David Anglin
2000-10-11 16:54   ` Grant Grundler
2000-10-11 19:44     ` John David Anglin
2000-10-11 20:21       ` Grant Grundler
2000-10-11 20:21         ` John David Anglin
2000-10-11 22:15         ` John David Anglin
2000-10-11 22:45           ` Grant Grundler
     [not found] <no.id>
2000-10-11 20:11 ` John David Anglin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox