All of lore.kernel.org
 help / color / mirror / Atom feed
* linux headers
@ 2007-06-04 16:59 Robert Millan
  2007-06-04 17:24 ` Robert Millan
  2007-06-04 17:35 ` Jeroen Dekkers
  0 siblings, 2 replies; 5+ messages in thread
From: Robert Millan @ 2007-06-04 16:59 UTC (permalink / raw)
  To: grub-devel


How is it that util/biosdisk.c makes effort to avoid including Linux headers
and defines Linux ioctl macros on its own?

This adds an extra maintainance burden, so I guess there must be a reason to do
it, but can't think of one..

-- 
Robert Millan

My spam trap is honeypot@aybabtu.com.  Note: this address is only intended
for spam harvesters.  Writing to it will get you added to my black list.



^ permalink raw reply	[flat|nested] 5+ messages in thread
* Linux headers
@ 2016-01-26 15:17 Yegor Yefremov
  2016-01-26 21:41 ` Sascha Hauer
  0 siblings, 1 reply; 5+ messages in thread
From: Yegor Yefremov @ 2016-01-26 15:17 UTC (permalink / raw)
  To: barebox

AFAIK include/linux/barebox-wrapper.h was introduced to simplify Linux
driver porting. During my current effort to port SquashFS driver I had
to repeatedly remove such includes like:

#include <linux/vfs.h>
#include <linux/slab.h>
#include <linux/vmalloc.h>
#include <linux/sched.h>
#include <linux/spinlock.h>
#include <linux/wait.h>

and so on.

Would it be better to provide such headers even if they would almost
always include dummy code? Though it would pollute the include folder
somehow, but it will be easier to port/sync Linux drivers and it will
help to preserve the structure of this drivers.

What do you think about this?

Yegor

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

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

end of thread, other threads:[~2016-01-26 21:41 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-04 16:59 linux headers Robert Millan
2007-06-04 17:24 ` Robert Millan
2007-06-04 17:35 ` Jeroen Dekkers
  -- strict thread matches above, loose matches on Subject: below --
2016-01-26 15:17 Linux headers Yegor Yefremov
2016-01-26 21:41 ` Sascha Hauer

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.