2011-06-29 21:02:57

by Vitaliy Ivanov

[permalink] [raw]
Subject: [PATCH] gcov: Disable CONSTRUCTORS for UML

>From df71d030a87910e42045dea517bf955caa72d2a8 Mon Sep 17 00:00:00 2001
From: Vitaliy Ivanov <[email protected]>
Date: Wed, 29 Jun 2011 23:25:32 +0300
Subject: [PATCH] gcov: Disable CONSTRUCTORS for UML

Selecting GCOV for UML causing configuration mismatch:
warning: (GCOV_KERNEL) selects CONSTRUCTORS which has unmet direct dependencies (!UML)

Constructors are not needed for UML.

Signed-off-by: Vitaliy Ivanov <[email protected]>
---
kernel/gcov/Kconfig | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/kernel/gcov/Kconfig b/kernel/gcov/Kconfig
index 5bf924d..a920281 100644
--- a/kernel/gcov/Kconfig
+++ b/kernel/gcov/Kconfig
@@ -3,7 +3,7 @@ menu "GCOV-based kernel profiling"
config GCOV_KERNEL
bool "Enable gcov-based kernel profiling"
depends on DEBUG_FS
- select CONSTRUCTORS
+ select CONSTRUCTORS if !UML
default n
---help---
This option enables gcov-based code profiling (e.g. for code coverage
--
1.7.4.1





2011-06-29 21:11:19

by Richard Weinberger

[permalink] [raw]
Subject: Re: [PATCH] gcov: Disable CONSTRUCTORS for UML

Am Mittwoch 29 Juni 2011, 23:02:52 schrieb Vitaliy Ivanov:
> From df71d030a87910e42045dea517bf955caa72d2a8 Mon Sep 17 00:00:00 2001
> From: Vitaliy Ivanov <[email protected]>
> Date: Wed, 29 Jun 2011 23:25:32 +0300
> Subject: [PATCH] gcov: Disable CONSTRUCTORS for UML
>
> Selecting GCOV for UML causing configuration mismatch:
> warning: (GCOV_KERNEL) selects CONSTRUCTORS which has unmet direct
> dependencies (!UML)
>
> Constructors are not needed for UML.
>
> Signed-off-by: Vitaliy Ivanov <[email protected]>

Acked-by: Richard Weinberger <[email protected]>

2011-06-30 01:53:53

by Cong Wang

[permalink] [raw]
Subject: Re: [PATCH] gcov: Disable CONSTRUCTORS for UML

On Thu, Jun 30, 2011 at 5:02 AM, Vitaliy Ivanov <[email protected]> wrote:
> From df71d030a87910e42045dea517bf955caa72d2a8 Mon Sep 17 00:00:00 2001
> From: Vitaliy Ivanov <[email protected]>
> Date: Wed, 29 Jun 2011 23:25:32 +0300
> Subject: [PATCH] gcov: Disable CONSTRUCTORS for UML
>
> Selecting GCOV for UML causing configuration mismatch:
> warning: (GCOV_KERNEL) selects CONSTRUCTORS which has unmet direct dependencies (!UML)
>
> Constructors are not needed for UML.
>
> Signed-off-by: Vitaliy Ivanov <[email protected]>

Acked-by: WANG Cong <[email protected]>