mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Randy.Dunlap" <rdunlap@xenotime.net>
To: lkml <linux-kernel@vger.kernel.org>
Cc: akpm <akpm@osdl.org>, torvalds <torvalds@osdl.org>, ak@suse.de
Subject: [PATCH 0/9] Replace some ARCH_HAS_XYZZY
Date: Mon, 7 Aug 2006 14:13:28 -0700	[thread overview]
Message-ID: <20060807141328.4d9c2a72.rdunlap@xenotime.net> (raw)

On Mon, 3 Jul 2006 10:13:12 -0700 (PDT) Linus Torvalds wrote:

[snip]

> The whole "ARCH_HAS_XYZZY" is nothing but crap. It's totally unreadable, 
...
> WE SHOULD GET RID OF ARCH_HAS_XYZZY. It's a disease.

Using Kconfig symbols for some of them seems more appropriate to me,
i.e., moving the symbol definitions from "random" header files to
Kconfig files.  After all, these are just hidden config settings,
so use the Kconfig system and namespace for them.

This series of 9 patches converts:

__ARCH_HAS_DO_SOFTIRQ --> CONFIG_ARCH_DO_SOFTIRQ
ARCH_HAS_NMI_WATCHDOG --> CONFIG_ARCH_NMI_WATCHDOG.
ARCH_HAS_READ_CURRENT_TIMER --> CONFIG_ARCH_READ_CURRENT_TIMER.
ARCH_HAS_SCHED_WAKE_IDLE --> CONFIG_SCHED_SMT.
ARCH_HAS_SOCKET_TYPES --> CONFIG_ARCH_SOCKET_TYPES.
ARCH_HAS_VALID_PHYS_ADDR_RANGE --> CONFIG_ARCH_VALID_PHYS_ADDR_RANGE.
__ARCH_HAS_NO_PAGE_ZERO_MAPPED --> CONFIG_NO_PAGE_ZERO_MAPPED.
ARCH_HAS_POWER_INIT --> CONFIG_ACPI_POWER_INIT.

---
~Randy

             reply	other threads:[~2006-08-07 21:10 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-07 21:13 Randy.Dunlap [this message]
2006-08-08  2:05 ` Andi Kleen
2006-08-08  3:08   ` Randy.Dunlap
2006-08-08  3:15     ` Andi Kleen
2006-08-08  4:27       ` Randy.Dunlap

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=20060807141328.4d9c2a72.rdunlap@xenotime.net \
    --to=rdunlap@xenotime.net \
    --cc=ak@suse.de \
    --cc=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@osdl.org \
    /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®