1 |
> I tried to update my laptop and desktop to 2.6.34 but compilation |
2 |
> fails with this error: |
3 |
> |
4 |
> drivers/gpu/drm/i915/i915_dma.c: In function 'i915_switcheroo_can_switch': |
5 |
> drivers/gpu/drm/i915/i915_dma.c:1419: error: invalid operands to |
6 |
> binary == (have 'atomic_t' and 'int') |
7 |
> |
8 |
> or: |
9 |
> |
10 |
> drivers/gpu/drm/nouveau/nouveau_state.c: In function |
11 |
> 'nouveau_switcheroo_can_switch': |
12 |
> drivers/gpu/drm/nouveau/nouveau_state.c:394: error: invalid operands |
13 |
> to binary == (have 'atomic_t' and 'int') |
14 |
> |
15 |
> They compile if I disable DRM. I've tried with and without |
16 |
> CONFIG_VGA_SWITCHEROO with the same result. Does anyone know how to |
17 |
> fix this? I'm trying to use hardened-sources-2.6.34 from the anarchy |
18 |
> overlay on both systems. |
19 |
> |
20 |
> - Grant |
21 |
|
22 |
This is fixed with hardened-2.6.34-r2 in the anarchy overlay. |
23 |
|
24 |
- Grant |