Skip to contentSkip to conversation

x86: remove obsolete comment in uapi/e820.h

PATCH In review Ross Zwisler 2 participants 3 messages May 19, 2014 – Aug 21, 2014 x86

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 x86: remove obsolete comment in uapi/e820.h

A comment introduced by this commit:

028b785888c5 x86 boot: extend some internal memory map arrays to handle
larger EFI input

had to do with some nested preprocessor directives. The directives were split into separate files by this commit:

af170c5061dd UAPI: (Scripted) Disintegrate arch/x86/include/asm

The comment explaining their interaction was retained and is now present in arch/x86/include/uapi/asm/e820.h. This comment is no longer correct, so delete it.

Cc Thomas Gleixner <[email protected]>
Cc Ingo Molnar <[email protected]>
Cc "H. Peter Anvin" <[email protected]>
---
 arch/x86/include/uapi/asm/e820.h | 5 -----
 1 file changed, 5 deletions(-)
arch/x86/include/uapi/asm/e820.h +0 -5
index bbae024..d993e33 100644
@@ -21,11 +21,6 @@
  * this size.
  */
 
-/*
- * Odd: 'make headers_check' complains about numa.h if I try
- * to collapse the next two #ifdef lines to a single line:
- *	#if defined(__KERNEL__) && defined(CONFIG_EFI)
- */
 #ifndef __KERNEL__
 #define E820_X_MAX E820MAX
 #endif
Signature · 1 line
1.9.0
#1 lore raw
Quoted 30 lines · Ross Zwisler

A comment introduced by this commit:

028b785888c5 x86 boot: extend some internal memory map arrays to handle
larger EFI input

had to do with some nested preprocessor directives. The directives were split into separate files by this commit:

af170c5061dd UAPI: (Scripted) Disintegrate arch/x86/include/asm

The comment explaining their interaction was retained and is now present in arch/x86/include/uapi/asm/e820.h. This comment is no longer correct, so delete it.

Cc Thomas Gleixner <[email protected]>
Cc Ingo Molnar <[email protected]>
Cc "H. Peter Anvin" <[email protected]>
---
 arch/x86/include/uapi/asm/e820.h | 5 -----
 1 file changed, 5 deletions(-)
arch/x86/include/uapi/asm/e820.h +0 -0
index bbae024..d993e33 100644
@@ -21,11 +21,6 @@
  * this size.

arch/x86/include/uapi/asm/e820.h line 26

Quoted 10 lines
arch/x86/include/uapi/asm/e820.h +0 -5
  */
 
-/*
- * Odd: 'make headers_check' complains about numa.h if I try
- * to collapse the next two #ifdef lines to a single line:
- *	#if defined(__KERNEL__) && defined(CONFIG_EFI)
- */
 #ifndef __KERNEL__
 #define E820_X_MAX E820MAX
 #endif

Ping. :)

#2 lore raw

[tip:x86/cleanups] x86: Remove obsolete comment in uapi/e820.h

In reply to Ross Zwisler
x86: Remove obsolete comment in uapi/e820.h
Commit-ID:  448466b723cc7b44016547116aa2b55a3736f1f0
Gitweb:     http://git.kernel.org/tip/448466b723cc7b44016547116aa2b55a3736f1f0
Author:     Ross Zwisler <[email protected]>
AuthorDate: Mon, 19 May 2014 11:50:24 -0600
Committer:  Ingo Molnar <[email protected]>
CommitDate: Thu, 21 Aug 2014 08:43:39 +0200

x86: Remove obsolete comment in uapi/e820.h

A comment introduced by this old commit:

028b785888c5 ("x86 boot: extend some internal memory map arrays to handle larger EFI input")

had to do with some nested preprocessor directives. The directives were split into separate files by this commit:

af170c5061dd ("UAPI: (Scripted) Disintegrate arch/x86/include/asm")

The comment explaining their interaction was retained and is now present in arch/x86/include/uapi/asm/e820.h. This comment is no longer correct, so delete it.

---
 arch/x86/include/uapi/asm/e820.h | 5 -----
 1 file changed, 5 deletions(-)
arch/x86/include/uapi/asm/e820.h +0 -5
index bbae024..d993e33 100644
@@ -21,11 +21,6 @@
  * this size.
  */
 
-/*
- * Odd: 'make headers_check' complains about numa.h if I try
- * to collapse the next two #ifdef lines to a single line:
- *	#if defined(__KERNEL__) && defined(CONFIG_EFI)
- */
 #ifndef __KERNEL__
 #define E820_X_MAX E820MAX
 #endif