All of lore.kernel.org
 help / color / mirror / Atom feed
* [parisc-linux] explicitly allocate executable pages?
@ 2004-01-17  5:58 Grant Grundler
  2004-01-17  6:01 ` M. Grabert
  0 siblings, 1 reply; 2+ messages in thread
From: Grant Grundler @ 2004-01-17  5:58 UTC (permalink / raw)
  To: parisc-linux

Could someone explain the following code in arch/parisc/mm/init.c?

The #warning doesn't make sense to me since it's inside !defined()
for the thing it's talking about.

thanks,
grant

...
#if !defined(CONFIG_STI_CONSOLE)
#warning STI console should explicitly allocate executable pages but does not
                                /*
                                 * Map the fault vector writable so we can
                                 * write the HPMC checksum.
                                 */
                                if (address >= ro_start && address < ro_end
                                                        && address != fv_addr
                                                        && address != gw_addr)
                                    pte = __mk_pte(address, PAGE_KERNEL_RO);
                                else
#endif
...

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [parisc-linux] explicitly allocate executable pages?
  2004-01-17  5:58 [parisc-linux] explicitly allocate executable pages? Grant Grundler
@ 2004-01-17  6:01 ` M. Grabert
  0 siblings, 0 replies; 2+ messages in thread
From: M. Grabert @ 2004-01-17  6:01 UTC (permalink / raw)
  To: Grant Grundler; +Cc: parisc-linux

On Fri, 16 Jan 2004, Grant Grundler wrote:

> Could someone explain the following code in arch/parisc/mm/init.c?
>
> The #warning doesn't make sense to me since it's inside !defined()
> for the thing it's talking about.

Yes, it doesn't make sense to me either.
Running serial console only (without STIcon or STIfb) give me that
error message aswell, which is slightly confusing ;-)

Max

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-01-17  6:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-01-17  5:58 [parisc-linux] explicitly allocate executable pages? Grant Grundler
2004-01-17  6:01 ` M. Grabert

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.