login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2010
»
August
»
2
Re: [PATCH -v3 1/2] x86, setup: reorgize the early_console_setup
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Yinghai Lu
Subject:
Re: [PATCH -v3 1/2] x86, setup: reorgize the early_console_setup
Date: Monday, August 2, 2010 - 12:15 pm
On 08/02/2010 10:43 AM, Cyrill Gorcunov wrote:
quoted text
> On Mon, Aug 02, 2010 at 02:17:31AM -0700, Yinghai Lu wrote: > ... >> Index: linux-2.6/arch/x86/boot/printf.c >> =================================================================== >> --- linux-2.6.orig/arch/x86/boot/printf.c >> +++ linux-2.6/arch/x86/boot/printf.c >> @@ -34,7 +34,7 @@ static int skip_atoi(const char **s) >> #define SMALL 32 /* Must be 32 == 0x20 */ >> #define SPECIAL 64 /* 0x */ >> >> -#define do_div(n,base) ({ \ >> +#define __do_div(n, base) ({ \ >> int __res; \ >> __res = ((unsigned long) n) % (unsigned) base; \ >> n = ((unsigned long) n) / (unsigned) base; \ >> @@ -83,7 +83,7 @@ static char *number(char *str, long num, >> tmp[i++] = '0'; >> else >> while (num != 0) >> - tmp[i++] = (digits[do_div(num, base)] | locase); >> + tmp[i++] = (digits[__do_div(num, base)] | locase); > > Yinghai, what was wrong with the origin do_div? After inclusion it as "printf.c" > in another *.c do_div gets clashed?
yes. get clashed if include that printf.c in arch/x86/boot/compressed/misc.c Yinghai --
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/2] x86, setup: reorgize the early_console_setup
, Yinghai Lu
, (Mon Aug 2, 12:13 am)
[PATCH 2/2] x86: more early console output from compressed ...
, Yinghai Lu
, (Mon Aug 2, 12:14 am)
Re: [PATCH 1/2] x86, setup: reorgize the early_console_setup
, H. Peter Anvin
, (Mon Aug 2, 12:16 am)
Re: [PATCH 1/2] x86, setup: reorgize the early_console_setup
, H. Peter Anvin
, (Mon Aug 2, 12:18 am)
[PATCH -v2 1/2] x86, setup: reorgize the early_console_setup
, Yinghai Lu
, (Mon Aug 2, 1:24 am)
[PATCH -v2 2/2] x86: more early console output from compre ...
, Yinghai Lu
, (Mon Aug 2, 1:26 am)
[PATCH -v3 1/2] x86, setup: reorgize the early_console_setup
, Yinghai Lu
, (Mon Aug 2, 2:17 am)
[PATCH -v3 2/2] x86: more early console output from compre ...
, Yinghai Lu
, (Mon Aug 2, 2:18 am)
Re: [PATCH 1/2] x86, setup: reorgize the early_console_setup
, Cyrill Gorcunov
, (Mon Aug 2, 8:09 am)
Re: [PATCH -v3 1/2] x86, setup: reorgize the early_console ...
, Cyrill Gorcunov
, (Mon Aug 2, 10:43 am)
Re: [PATCH -v3 2/2] x86: more early console output from co ...
, Cyrill Gorcunov
, (Mon Aug 2, 10:49 am)
Re: [PATCH 1/2] x86, setup: reorgize the early_console_setup
, Thiago Farina
, (Mon Aug 2, 10:56 am)
Re: [PATCH 1/2] x86, setup: reorgize the early_console_setup
, Thiago Farina
, (Mon Aug 2, 11:00 am)
Re: [PATCH 1/2] x86, setup: reorgize the early_console_setup
, H. Peter Anvin
, (Mon Aug 2, 11:27 am)
Re: [PATCH -v3 2/2] x86: more early console output from co ...
, H. Peter Anvin
, (Mon Aug 2, 11:38 am)
Re: [PATCH -v3 2/2] x86: more early console output from co ...
, Cyrill Gorcunov
, (Mon Aug 2, 11:54 am)
Re: [PATCH -v3 2/2] x86: more early console output from co ...
, H. Peter Anvin
, (Mon Aug 2, 11:58 am)
Re: [PATCH 1/2] x86, setup: reorgize the early_console_setup
, Thiago Farina
, (Mon Aug 2, 12:09 pm)
Re: [PATCH -v3 1/2] x86, setup: reorgize the early_console ...
, Yinghai Lu
, (Mon Aug 2, 12:15 pm)
Re: [PATCH 1/2] x86, setup: reorgize the early_console_setup
, Yinghai Lu
, (Mon Aug 2, 12:23 pm)
Re: [PATCH -v3 2/2] x86: more early console output from co ...
, Yinghai Lu
, (Mon Aug 2, 12:35 pm)
Re: [PATCH 1/2] x86, setup: reorgize the early_console_setup
, Cyrill Gorcunov
, (Mon Aug 2, 1:17 pm)
Re: [PATCH 1/2] x86, setup: reorgize the early_console_setup
, Yinghai Lu
, (Mon Aug 2, 1:30 pm)
Re: [PATCH 1/2] x86, setup: reorgize the early_console_setup
, H. Peter Anvin
, (Mon Aug 2, 1:33 pm)
Re: [PATCH 1/2] x86, setup: reorgize the early_console_setup
, Cyrill Gorcunov
, (Mon Aug 2, 1:36 pm)
Re: [PATCH -v3 2/2] x86: more early console output from co ...
, H. Peter Anvin
, (Mon Aug 2, 1:38 pm)
Re: [PATCH -v3 2/2] x86: more early console output from co ...
, H. Peter Anvin
, (Mon Aug 2, 1:59 pm)
Re: [PATCH -v3 2/2] x86: more early console output from co ...
, H. Peter Anvin
, (Mon Aug 2, 2:08 pm)
Re: [PATCH -v3 2/2] x86: more early console output from co ...
, Yinghai Lu
, (Mon Aug 2, 2:22 pm)
Re: [PATCH -v3 2/2] x86: more early console output from co ...
, H. Peter Anvin
, (Mon Aug 2, 2:27 pm)
Re: [PATCH -v3 2/2] x86: more early console output from co ...
, Yinghai Lu
, (Mon Aug 2, 2:36 pm)
Re: [PATCH -v3 2/2] x86: more early console output from co ...
, Yinghai Lu
, (Mon Aug 2, 3:30 pm)
Re: [PATCH -v3 2/2] x86: more early console output from co ...
, H. Peter Anvin
, (Mon Aug 2, 3:46 pm)
Re: [PATCH -v3 2/2] x86: more early console output from co ...
, Yinghai Lu
, (Mon Aug 2, 3:51 pm)
Re: [PATCH -v3 2/2] x86: more early console output from co ...
, Yinghai Lu
, (Mon Aug 2, 4:21 pm)
[tip:x86/setup] x86, setup: Allow global variables and fun ...
, tip-bot for H. Peter ...
, (Mon Aug 2, 8:30 pm)
[tip:x86/setup] x86, setup: reorganize the early console setup
, tip-bot for Yinghai Lu
, (Mon Aug 2, 8:31 pm)
[tip:x86/setup] x86, setup: move isdigit.h to ctype.h, hea ...
, tip-bot for H. Peter ...
, (Mon Aug 2, 9:10 pm)
[PATCH -v3] x86: Setup early console as early as possible
, Yinghai Lu
, (Tue Aug 3, 12:14 am)
Re: [PATCH -v3] x86: Setup early console as early as possible
, Andrew Morton
, (Tue Aug 3, 2:06 am)
Re: [PATCH -v3] x86: Setup early console as early as possible
, Yinghai Lu
, (Tue Aug 3, 2:09 am)
Re: [PATCH -v3] x86: Setup early console as early as possible
, Yinghai Lu
, (Tue Aug 3, 3:14 am)
Re: [PATCH -v3] x86: Setup early console as early as possible
, Cyrill Gorcunov
, (Tue Aug 3, 8:07 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Paul Turner
[tg_shares_up rewrite v4 11/11] sched: update tg->shares after cpu.shares write
Mr. James W. Laferriere
Re: Linux 2.6.25-rc1 , syntax error near unexpected token `;'
Robin Lee Powell
NFS hang + umount -f: better behaviour requested.
Linus Torvalds
Linux 2.6.34-rc4
Nick Piggin
Re: dealing with barriers (was Re: [PATCH] firewire: fw-core: enforce write order ...
git
:
Fredrik Kuivinen
Re: fatal: unable to create '.git/index': File exists
Wink Saville
How-to combine several separate git repos?
Emily Ren
How to pull remote branch with specified commit id?
Denis Bueno
Git clone error
pradeep singh
git-update-server-info may be required,cannot clone and pull from a remote reposit...
openbsd-misc
:
Sevan / Venture37
Re: This is what Linus Torvalds calls openBSD crowd
Siju George
This is what Linus Torvalds calls openBSD crowd
Darrin Chandler
Re: OT: Python (was Re: vi in /bin)
Netmaffia.hu
Tini Lányok AKCIÓBAN OTTHON
frantisek holop
Re: splassert: vwakeup: and friends
linux-netdev
:
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...
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
powerpc/fsl_msi: enable msi allocation in all banks
Linux Kernel Mailing List
ASoC: fix registration of the SoC card in the Freescale MPC8610 drivers
Linux Kernel Mailing List
drivers/acpi: use kasprintf
Linux Kernel Mailing List
[ARM] mmp: add dma support to mmp2
Linux Kernel Mailing List
bnx2x: Moving includes
Colocation donated by:
Syndicate