Linux-ACPI Archive on
 help / color / Atom feed
From: "Moore, Robert" <>
To: Garrit Franke <>
Cc: "Wysocki, Rafael J" <>,
	"" <>,
	"" <>,
	"" <>,
	"" <>,
Subject: RE: [PATCH] trivial: acpi: replace some bitshifts with BIT macro
Date: Tue, 28 Jul 2020 20:03:49 +0000
Message-ID: <> (raw)
In-Reply-To: <>

-----Original Message-----
From: Garrit Franke <> 
Sent: Friday, July 24, 2020 9:48 AM
To: Moore, Robert <>
Cc: Wysocki, Rafael J <>;;;;;
Subject: Re: [PATCH] trivial: acpi: replace some bitshifts with BIT macro

On Fri, 24 Jul 2020 16:29:14 +0000
"Moore, Robert" <> wrote:

> Where is "BIT" defined?

It is defined in multiple places (see include/vdso/bits.h for example), therefore I blatently assumed that it would be defined. I'm quite new to kernel development, and I'm learning along the way. Thank you for pointing this out.

Would it make sense to copy this file to this drivers root, or is it not worth the effort?

I'm not sure that it is worth the effort. Linux is not the only OS supported (and GCC is not the only compiler supported) by ACPICA.

Thanks for your time

  parent reply index

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <alpine.DEB.2.21.2007241814450.2834@hadrien>
2020-07-24 16:20 ` Garrit Franke
2020-07-24 16:29   ` Moore, Robert
2020-07-24 16:40     ` [Devel] " Colin Ian King
2020-07-24 16:47     ` Garrit Franke
2020-07-24 16:50       ` Moore, Robert
2020-07-28 20:03       ` Moore, Robert [this message]
2020-07-24 16:02 garritfra
2020-07-27 12:48 ` Dan Carpenter

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:

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

  git send-email \ \ \ \ \ \ \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Linux-ACPI Archive on

Archives are clonable:
	git clone --mirror linux-acpi/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-acpi linux-acpi/ \
	public-inbox-index linux-acpi

Example config snippet for mirrors

Newsgroup available over NNTP:

AGPL code for this site: git clone