This series of patches is made in purpose to use PAGE_SIZE and THREAD_SIZE
macroses in vmlinux linker scripts as much as possible instead of numeric
constants. Please review.
WARNING: the patches are UNTESTED COMPLETELY - I've no access to
that architectures and errors is highly po
This series of patches is made in purpose to use PAGE_SIZE and THREAD_SIZE
macroses in vmlinux linker scripts as much as possible instead of numeric
constants. Please review.
WARNING: the patches are UNTESTED COMPLETELY - I've no access to
that architectures and errors is highly po
This patch modifies PAGE_SIZE definition to be able to
include it into vmlinux.lds.S script and use it then
Also PERCPU macros is used instead of explicit section
declaration
Signed-off-by: Cyrill Gorcunov <[EMAIL PROTECTED]>
---
WARNING: COMPLETELY UNTESTED !!!
arch/arm/kernel/vmlinux
This patch includes page.h header into liker script that
allow us to use PAGE_SIZE macro instead of numeric constant
Signed-off-by: Cyrill Gorcunov <[EMAIL PROTECTED]>
---
WARNING: COMPLETELY UNTESTED !!!
vmlinux-std.lds |3 ++-
vmlinux-sun3.lds |7 ---
2 files chan
This patch modifies page.h header to be able to include it
into linker script and then we're able to use PAGE_SIZE in
vmlinux.lds
Signed-off-by: Cyrill Gorcunov <[EMAIL PROTECTED]>
---
WARNING: COMPLETELY UNTESTED !!!
arch/m68knommu/kernel/vmlinux.lds.S |5 +++--
include/as
This patch modifies PAGE_SIZE definition to be able to
include it in vmlinux.lds.S script and use it then
Also THREAD_SIZE macro is used to replace numeric constant
Signed-off-by: Cyrill Gorcunov <[EMAIL PROTECTED]>
---
WARNING: COMPLETELY UNTESTED !!!
arch/m32r/kernel/vmlinux.lds.S
This patch includes page.h header into liker script that
allow us to use PAGE_SIZE macro instead of numeric constant
Also PERCPU macro is used instead of explicit section definition
Signed-off-by: Cyrill Gorcunov <[EMAIL PROTECTED]>
---
WARNING: COMPLETELY UNTESTED !!!
vmlinux.lds.S
This patch includes thread_info.h header into liker script that
allow us to use THREAD_SIZE macro instead of numeric constant
Also PERCPU macro is used instead of explicit section definition
Signed-off-by: Cyrill Gorcunov <[EMAIL PROTECTED]>
---
WARNING: COMPLETELY UNTESTED !!!
vmlinux
This patch includes page.h header into liker script that
allow us to use PAGE_SIZE macro instead of numeric constant
Also a few tabs deleted to align braces
Signed-off-by: Cyrill Gorcunov <[EMAIL PROTECTED]>
---
WARNING: COMPLETELY UNTESTED !!!
vmlinux.lds.S
This patch includes page.h and thread_info.h headers into the linker
script that allow us to use PAGE_SIZE and THREAD_SIZE macroses
instead of numeric constants
Also a few spaces removed
Signed-off-by: Cyrill Gorcunov <[EMAIL PROTECTED]>
---
WARNING: COMPLETELY UNTESTED !!!
vmlinux
This patch modifies thread_info.h header to be able to include it
into linker script and then we're able to use THREAD_SIZE in
vmlinux.lds
Signed-off-by: Cyrill Gorcunov <[EMAIL PROTECTED]>
Reviewed-by: Sam Ravnborg <[EMAIL PROTECTED]>
---
arch/alpha/kernel/vmlinux.lds.S |3
This patch includes page.h header into liker scripts that
allow us to use PAGE_SIZE macro instead of numeric constant.
To be able to include page.h into linker scripts page.h is
needed for some modification - i.e. we need to use __ASSEMBLY__
and _AC macro
Signed-off-by: Cyrill Gorcunov <[EM
ining the
> bits as 0 if CONFIG_MEM_SOFT_DIRTY is not set.
>
> Signed-off-by: Hugh Dickins
Reviewed-by: Cyrill Gorcunov
Thank you, Hugh!
___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev
me_pte()? Rename it pte_same_as_swp().
>
> Signed-off-by: Hugh Dickins
Acked-by: Cyrill Gorcunov
Thanks a lot, Hugh!
___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev
From: Cyrill Gorcunov <[EMAIL PROTECTED]>
This patch adds simple increment on device interface counter
(it seems to be accidently missed)
Signed-off-by: Cyrill Gorcunov <[EMAIL PROTECTED]>
---
arch/powerpc/platforms/pasemi/electra_ide.c |2 +-
1 files changed, 1 insertions(+),
From: Cyrill Gorcunov <[EMAIL PROTECTED]>
This patch does convert cyclic calls to of_find_compatible_node()
and of_find_node_by_type() into appropriate macroses. It does reduce
code a bit.
Signed-off-by: Cyrill Gorcunov <[EMAIL PROTECTED]>
---
WARNING: I've no PowerPC to test
[Olof Johansson - Thu, Nov 22, 2007 at 09:20:29AM -0600]
| On Wed, Nov 21, 2007 at 01:58:06PM +0300, Cyrill Gorcunov wrote:
| > On 11/21/07, Cyrill Gorcunov <[EMAIL PROTECTED]> wrote:
| > > This patch does fix missed increment on counter
| > >
| > > Signed-off-by: Cyrill
From: Cyrill Gorcunov <[EMAIL PROTECTED]>
This patch does fix possible NULL pointer dereference
inside of strncmp() if of_get_property() failed.
Signed-off-by: Cyrill Gorcunov <[EMAIL PROTECTED]>
---
arch/powerpc/platforms/chrp/setup.c | 23 +--
1 files
Here is updated version
---
From: Cyrill Gorcunov <[EMAIL PROTECTED]>
This patch does fix possible NULL pointer dereference
inside of strncmp() if of_get_property() failed.
Signed-off-by: Cyrill Gorcunov <[EMAIL PROTECTED]>
---
arch/powerpc/platforms/chrp/setup.c | 13 +-
On 11/23/07, Stephen Rothwell <[EMAIL PROTECTED]> wrote:
> On Thu, 22 Nov 2007 22:54:23 +0300 Cyrill Gorcunov <[EMAIL PROTECTED]>
> wrote:
> >
> > This patch does fix possible NULL pointer dereference
> > inside of strncmp() if of_get_property() failed.
>
This patch adds checking for NULL value returned to prevent possible
NULL pointer dereference.
Also two unneeded 'return' are removed.
Signed-off-by: Cyrill Gorcunov <[EMAIL PROTECTED]>
---
Any comments are welcome.
arch/powerpc/platforms/celleb/pci.c | 23
On 11/28/07, Michael Ellerman <[EMAIL PROTECTED]> wrote:
> On Mon, 2007-11-26 at 10:46 +0300, Cyrill Gorcunov wrote:
> > This patch adds checking for NULL value returned to prevent possible
> > NULL pointer dereference.
> > Also two unneeded 'return' are r
On 11/28/07, Cyrill Gorcunov <[EMAIL PROTECTED]> wrote:
> On 11/28/07, Michael Ellerman <[EMAIL PROTECTED]> wrote:
> > On Mon, 2007-11-26 at 10:46 +0300, Cyrill Gorcunov wrote:
> > > This patch adds checking for NULL value returned to prevent possible
> > > N
d patch enveloped. (Can't do it inline becase I'm on
my work now where I have no Linux machine)
Cyrill
---
From: Cyrill Gorcunov <[EMAIL PROTECTED]>
Subject: [PATCH] PPC: CELLEB - fix possible NULL pointer dereference
This patch adds checking for NULL returned value to
prevent pos
This is a cleanup patch set. It does convert for(...)/while(...) cycles
into appropriate for_each_...() macros calls.
The patch set is splitted up in idea to hold changes localy
to a specified platform.
Any comments are welcome.
Cyrill
___
From: Cyrill Gorcunov <[EMAIL PROTECTED]>
Signed-off-by: Cyrill Gorcunov <[EMAIL PROTECTED]>
---
arch/powerpc/sysdev/fsl_soc.c |7 +++
arch/powerpc/sysdev/mv64x60_dev.c | 24 ++--
arch/powerpc/sysdev/mv64x60_pci.c |4 ++--
arch/po
From: Cyrill Gorcunov <[EMAIL PROTECTED]>
Signed-off-by: Cyrill Gorcunov <[EMAIL PROTECTED]>
---
arch/powerpc/kernel/btext.c |2 +-
arch/powerpc/kernel/legacy_serial.c |8
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/arch/powerpc/kernel/bt
From: Cyrill Gorcunov <[EMAIL PROTECTED]>
Signed-off-by: Cyrill Gorcunov <[EMAIL PROTECTED]>
---
arch/powerpc/platforms/82xx/pq2.c |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/powerpc/platforms/82xx/pq2.c
b/arch/powerpc/platforms/82xx/pq2.c
i
From: Cyrill Gorcunov <[EMAIL PROTECTED]>
Signed-off-by: Cyrill Gorcunov <[EMAIL PROTECTED]>
---
arch/powerpc/platforms/celleb/scc_sio.c |5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/arch/powerpc/platforms/celleb/scc_sio.c
b/arch/powerpc/plat
From: Cyrill Gorcunov <[EMAIL PROTECTED]>
Signed-off-by: Cyrill Gorcunov <[EMAIL PROTECTED]>
---
arch/powerpc/platforms/powermac/low_i2c.c |3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/arch/powerpc/platforms/powermac/low_i2c.c
b/arch/powerpc/platfo
into linker scripts page.h is
| > needed for some modification - i.e. we need to use __ASSEMBLY__
| > and _AC macro
| >
| > Signed-off-by: Cyrill Gorcunov <[EMAIL PROTECTED]>
|
| Needed some fixing, but it's OK. I'll forward it on.
|
|
31 matches
Mail list logo