Re: [GIT PATCH] Fix asm-avr32/dma-mapping.h breakage

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Jens Axboe <jens.axboe@...>
Cc: Robert P. J. Day <rpjday@...>, Sam Ravnborg <sam@...>, Haavard Skinnemoen <hskinnemoen@...>, Linus Torvalds <torvalds@...>, Linux Kernel <linux-kernel@...>
Date: Wednesday, October 24, 2007 - 8:41 am

On Wed, Oct 24, 2007 at 02:21:20PM +0200, Jens Axboe wrote:

But there's also the general question whether it's good practice for 
not architecture specific code to include asm/ headers.

For APIs available on all architectures linux/ header are the right 
thing to use, and what is in the asm/ header and what in the linux/ 
header becomes an implementation detail that can be changed.


cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed

-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[GIT PATCH] Fix asm-avr32/dma-mapping.h breakage, Haavard Skinnemoen, (Wed Oct 24, 7:22 am)
Re: [GIT PATCH] Fix asm-avr32/dma-mapping.h breakage, Jens Axboe, (Wed Oct 24, 7:24 am)
Re: [GIT PATCH] Fix asm-avr32/dma-mapping.h breakage, Sam Ravnborg, (Wed Oct 24, 7:29 am)
Re: [GIT PATCH] Fix asm-avr32/dma-mapping.h breakage, Robert P. J. Day, (Wed Oct 24, 8:15 am)
Re: [GIT PATCH] Fix asm-avr32/dma-mapping.h breakage, Jens Axboe, (Wed Oct 24, 8:21 am)
Re: [GIT PATCH] Fix asm-avr32/dma-mapping.h breakage, Adrian Bunk, (Wed Oct 24, 8:41 am)
Re: [GIT PATCH] Fix asm-avr32/dma-mapping.h breakage, Robert P. J. Day, (Wed Oct 24, 8:44 am)
Re: [GIT PATCH] Fix asm-avr32/dma-mapping.h breakage, Jens Axboe, (Wed Oct 24, 8:58 am)
Re: [GIT PATCH] Fix asm-avr32/dma-mapping.h breakage, Jens Axboe, (Wed Oct 24, 8:45 am)
Re: [GIT PATCH] Fix asm-avr32/dma-mapping.h breakage, Jens Axboe, (Wed Oct 24, 7:58 am)