mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Russell King <rmk@arm.linux.org.uk>
To: linux-kernel@vger.rutgers.edu
Subject: PageSkip
Date: Sat, 12 Aug 2000 19:01:53 +0100 (BST)	[thread overview]
Message-ID: <200008121801.TAA11768@flint.arm.linux.org.uk> (raw)

I've just done a grep for PageSkip on all .c and .h files in the current
(2.4.0-test6) kernel, and have come up with:

./include/asm-i386/pgtable.h:#define PageSkip(page)             (0)
./include/asm-mips/pgtable.h:#define PageSkip(page)             (0)
./include/asm-alpha/pgtable.h:#define PageSkip(page)            (0)
./include/asm-m68k/pgtable.h:#define PageSkip(page)             (0)
./include/asm-ppc/pgtable.h:#define PageSkip(page)              (0)
./include/asm-arm/pgtable.h:#define PageSkip(page)              (machine_is_riscpc() && test_bit(PG_skip, &(page)->flags))
./include/asm-sh/pgtable.h:#define PageSkip(page)               (0)
./include/asm-ia64/pgtable.h:#define PageSkip(page)             (0)
./include/asm-mips64/pgtable.h:#define PageSkip(page)           test_bit(PG_skip, &(page)->flags)
./include/asm-s390/pgtable.h:#define PageSkip(page)          (0)
./arch/arm/mm/init.c:                   if (PageSkip(page)) {
./arch/mips64/sgi-ip27/ip27-memory.c:                   if (PageSkip(mem_map+tmp))

Since this macro is only used in two architecture-specific places, is there
any reason to keep it in the header files?

On ARM, I'm planning on moving it out of pgtable.h and into mm/init.c.
   _____
  |_____| ------------------------------------------------- ---+---+-
  |   |         Russell King        rmk@arm.linux.org.uk      --- ---
  | | | | http://www.arm.linux.org.uk/personal/aboutme.html   /  /  |
  | +-+-+                                                     --- -+-
  /   |               THE developer of ARM Linux              |+| /|\
 /  | | |                                                     ---  |
    +-+-+ -------------------------------------------------  /\\\  |

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

             reply	other threads:[~2000-08-12 17:37 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-08-12 18:01 Russell King [this message]
2000-08-13  0:19 ` PageSkip David S. Miller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200008121801.TAA11768@flint.arm.linux.org.uk \
    --to=rmk@arm.linux.org.uk \
    --cc=linux-kernel@vger.rutgers.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®