login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
February
»
16
Re: [PATCH] sysv: [bl]e*_add_cpu conversion
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Christoph Hellwig
Subject:
Re: [PATCH] sysv: [bl]e*_add_cpu conversion
Date: Saturday, February 16, 2008 - 6:31 am
On Thu, Feb 14, 2008 at 02:04:37AM -0500, Christoph Hellwig wrote:
quoted text
> > diff --git a/fs/sysv/sysv.h b/fs/sysv/sysv.h > > index 42d51d1..38ebe3f 100644 > > --- a/fs/sysv/sysv.h > > +++ b/fs/sysv/sysv.h > > @@ -217,9 +217,9 @@ static inline __fs32 fs32_add(struct sysv_sb_info *sbi, __fs32 *n, int d) > > if (sbi->s_bytesex == BYTESEX_PDP) > > *(__u32*)n = PDP_swab(PDP_swab(*(__u32*)n)+d); > > else if (sbi->s_bytesex == BYTESEX_LE) > > - *(__le32*)n = cpu_to_le32(le32_to_cpu(*(__le32*)n)+d); > > + le32_add_cpu((__le32 *)n, d); > > else > > - *(__be32*)n = cpu_to_be32(be32_to_cpu(*(__be32*)n)+d); > > + be32_add_cpu((__be32 *)n, d); > > return *n; > > but now that you've named the be and le primitives *_add_cpu it would > be nice if you could submit a second patch to sysv to rename fs*_add > to fs*_add_cpu aswell.
Btw, the same applies to ufs aswell as it's using the same construct. --
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:
[PATCHSET] [bl]e*_add_cpu conversions
, marcin.slusarz
, (Tue Feb 12, 4:06 pm)
[PATCH] crypto: be*_add_cpu conversion
, marcin.slusarz
, (Tue Feb 12, 4:06 pm)
[PATCH] ieee 1394: be*_add_cpu conversion
, marcin.slusarz
, (Tue Feb 12, 4:06 pm)
[PATCH] infiniband: be*_add_cpu conversion
, marcin.slusarz
, (Tue Feb 12, 4:06 pm)
[PATCH] affs: be*_add_cpu conversion
, marcin.slusarz
, (Tue Feb 12, 4:06 pm)
[PATCH] gfs2: be*_add_cpu conversion
, marcin.slusarz
, (Tue Feb 12, 4:06 pm)
[PATCH] hfs/hfsplus: be*_add_cpu conversion
, marcin.slusarz
, (Tue Feb 12, 4:06 pm)
[PATCH] ipw2200: le*_add_cpu conversion
, marcin.slusarz
, (Tue Feb 12, 4:06 pm)
[PATCH] scsi: le*_add_cpu conversion
, marcin.slusarz
, (Tue Feb 12, 4:06 pm)
[PATCH] ext2: le*_add_cpu conversion
, marcin.slusarz
, (Tue Feb 12, 4:06 pm)
[PATCH] ext4: le*_add_cpu conversion
, marcin.slusarz
, (Tue Feb 12, 4:06 pm)
[PATCH] jfs: le*_add_cpu conversion
, marcin.slusarz
, (Tue Feb 12, 4:06 pm)
[PATCH] ntfs: le*_add_cpu conversion
, marcin.slusarz
, (Tue Feb 12, 4:06 pm)
[PATCH] ocfs2: le*_add_cpu conversion
, marcin.slusarz
, (Tue Feb 12, 4:06 pm)
[PATCH] quota: le*_add_cpu conversion
, marcin.slusarz
, (Tue Feb 12, 4:06 pm)
[PATCH] reiserfs: le*_add_cpu conversion
, marcin.slusarz
, (Tue Feb 12, 4:06 pm)
[PATCH] sysv: [bl]e*_add_cpu conversion
, marcin.slusarz
, (Tue Feb 12, 4:06 pm)
[PATCH] ufs: [bl]e*_add_cpu conversion
, marcin.slusarz
, (Tue Feb 12, 4:06 pm)
Re: [PATCH] infiniband: be*_add_cpu conversion
, Roland Dreier
, (Tue Feb 12, 5:32 pm)
Re: [PATCH] crypto: be*_add_cpu conversion
, Roel Kluin
, (Wed Feb 13, 1:25 am)
Re: [PATCH] ufs: [bl]e*_add_cpu conversion
, Roel Kluin
, (Wed Feb 13, 2:41 am)
Re: [PATCH] quota: le*_add_cpu conversion
, Jan Kara
, (Wed Feb 13, 2:52 am)
Re: [PATCH] gfs2: be*_add_cpu conversion
, Steven Whitehouse
, (Wed Feb 13, 2:55 am)
RE: [PATCH] scsi: le*_add_cpu conversion
, Salyzyn, Mark
, (Wed Feb 13, 7:06 am)
RE: [PATCH] ipw2200: le*_add_cpu conversion
, Chatre, Reinette
, (Wed Feb 13, 9:54 am)
Re: [PATCH] ufs: [bl]e*_add_cpu conversion
, Marcin Slusarz
, (Wed Feb 13, 11:21 am)
Re: [PATCH] crypto: be*_add_cpu conversion
, Marcin Slusarz
, (Wed Feb 13, 11:36 am)
Re: [PATCH] jfs: le*_add_cpu conversion
, Dave Kleikamp
, (Wed Feb 13, 2:51 pm)
Re: [PATCH] sysv: [bl]e*_add_cpu conversion
, Christoph Hellwig
, (Thu Feb 14, 12:04 am)
Re: [PATCH] ufs: [bl]e*_add_cpu conversion
, Andrew Morton
, (Fri Feb 15, 10:28 pm)
Re: [PATCH] sysv: [bl]e*_add_cpu conversion
, Christoph Hellwig
, (Sat Feb 16, 6:31 am)
Re: [PATCH] ieee 1394: be*_add_cpu conversion
, Stefan Richter
, (Sat Feb 16, 9:54 am)
Re: [PATCH] ocfs2: le*_add_cpu conversion
, Mark Fasheh
, (Mon Feb 18, 2:03 pm)
Re: [PATCH] ufs: [bl]e*_add_cpu conversion
, Roel Kluin
, (Mon Feb 18, 4:22 pm)
Re: [PATCH] ufs: [bl]e*_add_cpu conversion
, Marcin Slusarz
, (Tue Feb 19, 10:45 am)
Re: [PATCH] ufs: [bl]e*_add_cpu conversion
, Evgeniy Dushistov
, (Tue Feb 19, 12:16 pm)
Re: [PATCH] ufs: [bl]e*_add_cpu conversion
, Marcin Slusarz
, (Sun Mar 9, 3:21 am)
Re: [PATCH] crypto: be*_add_cpu conversion
, Herbert Xu
, (Fri Mar 14, 1:24 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Brian Swetland
Re: Attempted summary of suspend-blockers LKML thread
Ray Lee
Re: -mm merge plans for 2.6.23
Florin Malita
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
Mark Lord
re: Regression: 2.6.25-rc8: FTP transfer errors
Oleg Nesterov
[PATCH 1/1] oom: fix the unsafe usage of badness() in proc_oom_score()
git
:
Felipe Contreras
Re: [kernel.org users] [RFD] On deprecating "git-foo" for builtins
Paolo Ciarrocchi
Re: [kernel.org users] [RFD] On deprecating "git-foo" for builtins
Johannes Schindelin
[PATCH] fetch: refuse to fetch into the current branch in a non-bare repository
Johannes Schindelin
Re: [PATCH] Fix install-doc-quick target
Peter Oberndorfer
Subject: [PATCH] fix stg edit command
linux-netdev
:
Ursula Braun
[patch 2/8] [PATCH] af_iucv: sync sk shutdown flag if iucv path is quiesced
Andi Kleen
Re: RFC: Nagle latency tuning
David Miller
Re: [RFC 0/5] generic rx recycling
Chuck Lever
Re: [RFC] ipv6: Change %pI6 format to output compacted addresses?
Jarek Poplawski
Re: socket api problem: can't bind an ipv6 socket to ::ffff:0.0.0.0
git-commits-head
:
Linux Kernel Mailing List
New device ID for sc92031 [1088:2031]
Linux Kernel Mailing List
e1000e: Expose MDI-X status via ethtool change
Linux Kernel Mailing List
arm/imx/gpio: GPIO_INT_{HIGH,LOW}_LEV are not necessarily constant
Linux Kernel Mailing List
powerpc/kexec: Add support for FSL-BookE
Linux Kernel Mailing List
trivial: fix comment typo in fs/compat.c
openbsd-misc
:
Theo de Raadt
Re: RES: OpenBSD on IBM System X3550 7879
Bret S. Lambert
Re: any web management gui for pf ?
Rob Shepherd
x86 hardware for router system
Flickr Photo Map for iPad and iPhone
Thanks for the Great Launch of Flickr Photo Map for iPad + iPhone
Nick Holland
Re: Install OpenBSD from USB ?
Colocation donated by:
Syndicate