login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2010
»
April
»
20
Re: [PATCH 2/5] uml: Drop private round_down definition
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Jiri Kosina
Subject:
Re: [PATCH 2/5] uml: Drop private round_down definition
Date: Tuesday, April 20, 2010 - 7:35 am
On Tue, 20 Apr 2010, Amerigo Wang wrote:
quoted text
> On Mon, Apr 19, 2010 at 11:53:05PM +0200, Jan Kiszka wrote: > >Already defined in kernel.h. The official version assumes that 'n' is > >power of two - which it is in our case. > > > >Signed-off-by: Jan Kiszka <jan.kiszka@web.de> > >--- > > arch/um/sys-x86_64/signal.c | 2 -- > > 1 files changed, 0 insertions(+), 2 deletions(-) > > > >diff --git a/arch/um/sys-x86_64/signal.c b/arch/um/sys-x86_64/signal.c > >index 1a899a7..07797d1 100644 > >--- a/arch/um/sys-x86_64/signal.c > >+++ b/arch/um/sys-x86_64/signal.c > >@@ -165,8 +165,6 @@ struct rt_sigframe > > struct _fpstate fpstate; > > }; > > > >-#define round_down(m, n) (((m) / (n)) * (n)) > >- > > int setup_signal_stack_si(unsigned long stack_top, int sig, > > struct k_sigaction *ka, struct pt_regs * regs, > > siginfo_t *info, sigset_t *set) > > Shouldn't this signal.c #include <linux/kernel.h>?
Well, it gets included implicitly through uaccess.h -> sched.h -> kernel.h. Applied, thanks. -- Jiri Kosina SUSE Labs, Novell Inc. --
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 0/5] uml: Some trivial cleanups
, Jan Kiszka
, (Mon Apr 19, 2:53 pm)
[PATCH 1/5] uml: Remove unused variable from line driver
, Jan Kiszka
, (Mon Apr 19, 2:53 pm)
[PATCH 2/5] uml: Drop private round_down definition
, Jan Kiszka
, (Mon Apr 19, 2:53 pm)
[PATCH 3/5] uml: Fix warning due to missing task_struct de ...
, Jan Kiszka
, (Mon Apr 19, 2:53 pm)
[PATCH 5/5] uml: Clean up asm/system.h
, Jan Kiszka
, (Mon Apr 19, 2:53 pm)
Re: [PATCH 1/5] uml: Remove unused variable from line driver
, Amerigo Wang
, (Tue Apr 20, 1:32 am)
Re: [PATCH 2/5] uml: Drop private round_down definition
, Amerigo Wang
, (Tue Apr 20, 1:33 am)
Re: [PATCH 3/5] uml: Fix warning due to missing task_struc ...
, Amerigo Wang
, (Tue Apr 20, 3:09 am)
Re: [PATCH 5/5] uml: Clean up asm/system.h
, Amerigo Wang
, (Tue Apr 20, 3:14 am)
Re: [PATCH 2/5] uml: Drop private round_down definition
, Jeff Dike
, (Tue Apr 20, 7:25 am)
Re: [PATCH 3/5] uml: Fix warning due to missing task_struc ...
, Jeff Dike
, (Tue Apr 20, 7:30 am)
Re: [PATCH 1/5] uml: Remove unused variable from line driver
, Jiri Kosina
, (Tue Apr 20, 7:31 am)
Re: [PATCH 5/5] uml: Clean up asm/system.h
, Jiri Kosina
, (Tue Apr 20, 7:33 am)
Re: [PATCH 2/5] uml: Drop private round_down definition
, Jiri Kosina
, (Tue Apr 20, 7:35 am)
Re: [PATCH 2/5] uml: Drop private round_down definition
, Jiri Kosina
, (Tue Apr 20, 8:49 am)
Re: [uml-devel] [PATCH 2/5] uml: Drop private round_down d ...
, Jeff Dike
, (Tue Apr 20, 9:52 am)
Re: [PATCH 3/5] uml: Fix warning due to missing task_struc ...
, Jan Kiszka
, (Tue Apr 20, 10:09 am)
Re: [uml-devel] [PATCH 2/5] uml: Drop private round_down d ...
, Jiri Kosina
, (Tue Apr 20, 10:18 am)
Re: [PATCH 3/5] uml: Fix warning due to missing task_struc ...
, Jiri Kosina
, (Tue Apr 20, 4:43 pm)
Re: [PATCH 3/5] uml: Fix warning due to missing task_struc ...
, Amerigo Wang
, (Tue Apr 20, 11:06 pm)
Re: [PATCH 3/5] uml: Fix warning due to missing task_struc ...
, Jiri Kosina
, (Wed Apr 21, 2:38 am)
Re: [PATCH 3/5] uml: Fix warning due to missing task_struc ...
, Amerigo Wang
, (Wed Apr 21, 3:43 am)
Re: [PATCH 3/5] uml: Fix warning due to missing task_struc ...
, Jiri Kosina
, (Wed Apr 21, 3:49 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Boaz Harrosh
how to use KBUILD_EXTRA_SYMBOLS
Brandeburg, Jesse
RE: [regression] e1000e broke e1000 (was: Re: [ANNOUNCE] e1000 toe1000e migration ...
Robin Lee Powell
NFS hang + umount -f: better behaviour requested.
David Rientjes
Re: [patch -mm 4/9 v2] oom: remove compulsory panic_on_oom mode
Rik van Riel
Re: [PATCH -v2] rmap: make anon_vma_prepare link in all the anon_vmas of a mergeab...
git
:
Fredrik Kuivinen
Re: fatal: unable to create '.git/index': File exists
Johannes Sixt
Re: How to pull remote branch with specified commit id?
Linus Torvalds
Re: Handling large files with GIT
Boyd Stephen Smith Jr.
Re: RFC: Flat directory for notes, or fan-out? Both!
Alex Riesen
Re: ! [rejected] master -> master (non-fast forward)
linux-netdev
:
Paulius Zaleckas
Re: [RFC] Patch to option HSO driver to the kernel
Jamie Lokier
Re: POHMELFS high performance network filesystem. Transactions, failover, performa...
Timo Teräs
ip xfrm policy semantics
Ron Mercer
[net-next PATCH 2/2] qlge: Version change to v1.00.00.27
Maciej W. Rozycki
Re: [PATCH] flush_work_sync vs. flush_scheduled_work Re: [PATCH] PHYLIB: IRQ event...
openbsd-misc
:
Sevan / Venture37
Re: This is what Linus Torvalds calls openBSD crowd
Siju George
This is what Linus Torvalds calls openBSD crowd
new_guy
Longest Uptime?
Skylar Hawk
Re: asus eee 1201n - acpitz0 critical temperature 255C (5282K), shutting down
Nick Guenther
Re: Forum engine
git-commits-head
:
Linux Kernel Mailing List
powerpc/fsl_msi: enable msi allocation in all banks
Linux Kernel Mailing List
[ARM] mmp: avengers lite (pxa168) board bring up
Linux Kernel Mailing List
checkpatch: warn on declaration with storage class not at the beginning
Linux Kernel Mailing List
USB: remove duplicate entry in Option driver and Pl2303 driver for Huawei modem
Linux Kernel Mailing List
update JFS entry in MAINTAINERS
Colocation donated by:
Syndicate