login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
October
»
6
Re: [PATCH 1/1] unify DMA_..BIT_MASK definitions: v3.1
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
[view in full thread]
From:
Borislav Petkov <bbpetkov@...>
To: Jeremy Fitzhardinge <jeremy@...>
Cc: Robert P. J. Day <rpjday@...>, Andrew Morton <akpm@...>, <linux-kernel@...>, <muli@...>, <satyam@...>, <amitkale@...>, <achim_leubner@...>
Subject:
Re: [PATCH 1/1] unify DMA_..BIT_MASK definitions: v3.1
Date: Saturday, October 6, 2007 - 3:54 am
On Fri, Oct 05, 2007 at 02:23:41PM -0700, Jeremy Fitzhardinge wrote:
quoted text
> Robert P. J. Day wrote: > > or you could take advantage of the macros in kernel.h and write that > > as: > > > > +#define DMA_BIT_MASK(n) (((n) == 64) ? ULLONG_MAX : ((1ULL<<(n))-1)) > > > > But that's a more indirect way of expressing "I want all 1's".
... and ULLONG_MAX _is_ (~0ULL). -- Regards/Gruß, Boris. -
unsubscribe notice
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/
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
Messages in current thread:
[PATCH 1/1] unify DMA_..BIT_MASK definitions: v3.1
, Borislav Petkov
, (Tue Sep 18, 3:46 pm)
Re: [PATCH 1/1] unify DMA_..BIT_MASK definitions: v3.1
, Andrew Morton
, (Fri Oct 5, 3:47 pm)
Re: [PATCH 1/1] unify DMA_..BIT_MASK definitions: v3.1
, Jeremy Fitzhardinge
, (Fri Oct 5, 4:43 pm)
Re: [PATCH 1/1] unify DMA_..BIT_MASK definitions: v3.1
, Andrew Morton
, (Fri Oct 5, 5:00 pm)
Re: [PATCH 1/1] unify DMA_..BIT_MASK definitions: v3.1
, Borislav Petkov
, (Sat Oct 6, 4:37 am)
Re: [PATCH 1/1] unify DMA_..BIT_MASK definitions: v3.1
, Robert P. J. Day
, (Fri Oct 5, 5:03 pm)
Re: [PATCH 1/1] unify DMA_..BIT_MASK definitions: v3.1
, Andreas Schwab
, (Fri Oct 5, 5:24 pm)
Re: [PATCH 1/1] unify DMA_..BIT_MASK definitions: v3.1
, Jeremy Fitzhardinge
, (Fri Oct 5, 5:28 pm)
Re: [PATCH 1/1] unify DMA_..BIT_MASK definitions: v3.1
, Andrew Morton
, (Fri Oct 5, 6:24 pm)
Re: [PATCH 1/1] unify DMA_..BIT_MASK definitions: v3.1
, Jeremy Fitzhardinge
, (Fri Oct 5, 6:32 pm)
Re: [PATCH 1/1] unify DMA_..BIT_MASK definitions: v3.1
, Jeremy Fitzhardinge
, (Fri Oct 5, 5:23 pm)
Re: [PATCH 1/1] unify DMA_..BIT_MASK definitions: v3.1
, Borislav Petkov
, (Sat Oct 6, 3:54 am)
Re: [PATCH 1/1] unify DMA_..BIT_MASK definitions: v3.1
, Satyam Sharma
, (Wed Sep 19, 11:03 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Tarkan Erimer
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
Greg KH
[GIT PATCH] driver core patches against 2.6.24
James Bottomley
Re: Announce: Linux-next (Or Andrew's dream :-))
Trent Piepho
Re: [PATCH] fakephp: Allocate PCI resources before adding the device
linux-netdev
:
Antonio Almeida
HTB accuracy for high speed
David Miller
[GIT]: Networking
Gerrit Renker
[PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side)
Jarek Poplawski
[PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
git
:
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
2 users
and
733 guests
online.
Online users
cbelgr67
julysummer26
Syndicate