Re: [PATCH -mm -v4 1/3] i386/x86_64 boot: setup data

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Huang, Ying
Date: Tuesday, October 9, 2007 - 2:26 am

On Tue, 2007-10-09 at 02:28 +1000, Nick Piggin wrote:

Thank you :)


Yes. This is better. I will do it. Maybe it can be defined as a macro
for these architectures, as follow:

/* in linux/mm.h */
#ifdef CONFIG_HIGHMEM
void *copy_from_phys(void *to, unsigned long from_phys, size_t n);
#else
#define copy_from_phys(dst, phys, n)	memcpy(dst, __va(phys), n)
#endif


Yes. I will do it.

Best Regards,
Huang Ying
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH -mm -v4 1/3] i386/x86_64 boot: setup data, Nick Piggin, (Mon Oct 8, 8:25 am)
Re: [PATCH -mm -v4 1/3] i386/x86_64 boot: setup data, Nick Piggin, (Mon Oct 8, 9:06 am)
Re: [PATCH -mm -v4 1/3] i386/x86_64 boot: setup data, Nick Piggin, (Mon Oct 8, 9:28 am)
[PATCH -mm -v4 1/3] i386/x86_64 boot: setup data, Huang, Ying, (Mon Oct 8, 11:40 pm)
Re: [PATCH -mm -v4 1/3] i386/x86_64 boot: setup data, Huang, Ying, (Tue Oct 9, 1:22 am)
Re: [PATCH -mm -v4 1/3] i386/x86_64 boot: setup data, Huang, Ying, (Tue Oct 9, 1:55 am)
Re: [PATCH -mm -v4 1/3] i386/x86_64 boot: setup data, Huang, Ying, (Tue Oct 9, 2:26 am)
Re: [PATCH -mm -v4 1/3] i386/x86_64 boot: setup data, Oleg Verych, (Tue Oct 9, 4:44 am)