Re: 2.6.17-rc5 does not build for sparc

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

 



Krzysztof Helt wrote:
> Hello,
> 
> I tried to build the 2.6.17-rc5 for sparc with SMP enabled. The
> kernel was not build due to a missing macro. Here is a patch
> which fixes this (I copied the macro from a sparc64 header).
> 

That's not all that is broken.  I think I have what could be 4 separate
patches for smp here: (combined in the attached patch)
  1. add topology_init - fixes a boot time crash
  2. setup cpu_possible_map - actually boot the additional cpu's
  3. fix smp related section mismatch warnings
  4. add the missing *_can_lock macros

If you are running a local framebuffer, you may encounter a problem with
vmalloc.  Adding "migration_cost=10000" to the kernel command line
should cover up the problem.

I haven't had the time to give it a thorough testing and see if it
self-recompiles recently, but I was previously able to successfully
rebuild the kernel with "make -j6" on a dual SuperSPARC II.

Bob

Attachment: sparc32-smp-2.6.17-rc4.patch
Description: application/patch


[Index of Archives]     [Kernel Development]     [DCCP]     [Linux ARM Development]     [Linux]     [Photo]     [Yosemite Help]     [Linux ARM Kernel]     [Linux SCSI]     [Linux x86_64]     [Linux Hams]

  Powered by Linux