lkml.org 
[lkml]   [2003]   [Mar]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: share COMPATIBLE_IOCTL()s across architectures
On Thu, Mar 20, 2003 at 02:35:30AM +0100, Arnd Bergmann wrote:
> Why not simply move the common COMPATIBLE_IOCTLs and includes into
> kernel/compat_ioctl.c or similar? That would IMHO be cleaner and
> it does not need more preprocessing hacks.
> There can still be a second init_sys32_ioctl() copy to handle the arch
> specific list with additional translations.

This would work for COMPATIBLE_IOCTLS, but the conversions handlers
would need a new asm/ file for the macros. They're declared with assembler
magic to avoid declaring all the functions. This way you need less files.

-Andi
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:34    [W:0.113 / U:0.392 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site