Re: [PATCH] backports: remove obsolete linux/bitops.h header

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 11/20/2013 12:26 PM, Stefan Assmann wrote:
> On 20.11.2013 09:36, Johannes Berg wrote:
>> On Wed, 2013-11-20 at 09:29 +0100, Stefan Assmann wrote:
>>> On 19.11.2013 23:51, Hauke Mehrtens wrote:
>>>> On 11/18/2013 03:26 PM, Stefan Assmann wrote:
>>>>> The header seems to be obsolete. Removing it and running devel/ckmake didn't
>>>>> reveal any errors. Missing parts can always be re-added in the new
>>>>> include_next fashion if necessary.
>>>>>
>>>>> Signed-off-by: Stefan Assmann <sassmann@xxxxxxxxx>
>>>>
>>>> Some of these functions are needed, because they are not provided by old
>>>> kernel versions.
>>>
>>> Let me know what's a good way of figuring out what's still needed and
>>> I'll replace the old header the way that Johannes suggested.
>>
>> Easiest is probably to try compiling against the oldest kernel we still
>> support - that would be 2.6.25 - until all the drivers compile :)
>>
>> johannes
>>
> 
> OK, to get started I tried:
> ./gentree.py --clean --git-revision v2.6.25 ~/linux /dev/shm/2.6.25
> Get original source files from git ...
> Apply patches ...
> Failed to apply changes from collateral-evolutions/network/0001-netdev_ops/bluetooth_bnep.patch
>  patching file net/bluetooth/bnep/netdev.c
>  Hunk #1 FAILED at 223.
>  1 out of 1 hunk FAILED -- saving rejects to file net/bluetooth/bnep/netdev.c.rej
> 
> Sorry if I'm missing something there. Or do I have to do it another way?
> 
>   Stefan
> 

You should generate a release based on linux-next like:
./gentree.py --clean --git-revision next-20131113 ~/linux /dev/shm/next

and test compile that against kernel 2.6.25.

make KLIB=/home/XXXX/kernels/linux-2.6.25

Hauke
--
To unsubscribe from this list: send the line "unsubscribe backports" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux