public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] <linux/dlm_plock.h> should be "unifdef"ed.
@ 2008-05-17 20:58 Robert P. J. Day
  2008-05-19 20:02 ` David Teigland
  0 siblings, 1 reply; 2+ messages in thread
From: Robert P. J. Day @ 2008-05-17 20:58 UTC (permalink / raw)
  To: Linux Kernel Mailing List; +Cc: Andrew Morton


Given that <linux/dlm_plock.h> contains a conditional __KERNEL__ test,
it should be moved from header-y to unifdef-y.

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>

---

diff --git a/include/linux/Kbuild b/include/linux/Kbuild
index b7d81b2..5dfa739 100644
--- a/include/linux/Kbuild
+++ b/include/linux/Kbuild
@@ -105,7 +105,6 @@ header-y += ixjuser.h
 header-y += jffs2.h
 header-y += keyctl.h
 header-y += limits.h
-header-y += dlm_plock.h
 header-y += magic.h
 header-y += major.h
 header-y += matroxfb.h
@@ -190,6 +189,7 @@ unifdef-y += cyclades.h
 unifdef-y += dccp.h
 unifdef-y += dirent.h
 unifdef-y += dlm.h
+unifdef-y += dlm_plock.h
 unifdef-y += edd.h
 unifdef-y += elf.h
 unifdef-y += elfcore.h

========================================================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry:
    Have classroom, will lecture.

http://crashcourse.ca                          Waterloo, Ontario, CANADA
========================================================================

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

* Re: [PATCH] <linux/dlm_plock.h> should be "unifdef"ed.
  2008-05-17 20:58 [PATCH] <linux/dlm_plock.h> should be "unifdef"ed Robert P. J. Day
@ 2008-05-19 20:02 ` David Teigland
  0 siblings, 0 replies; 2+ messages in thread
From: David Teigland @ 2008-05-19 20:02 UTC (permalink / raw)
  To: Robert P. J. Day; +Cc: Linux Kernel Mailing List, Andrew Morton

On Sat, May 17, 2008 at 04:58:28PM -0400, Robert P. J. Day wrote:
> 
> Given that <linux/dlm_plock.h> contains a conditional __KERNEL__ test,
> it should be moved from header-y to unifdef-y.
> 
> Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>

Thanks, I've added this to dlm.git.
Dave


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

end of thread, other threads:[~2008-05-19 20:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-17 20:58 [PATCH] <linux/dlm_plock.h> should be "unifdef"ed Robert P. J. Day
2008-05-19 20:02 ` David Teigland

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox