Linux教程網
Linux教程網
Linux教程網
您现在的位置: Linux教程網 >> UnixLinux >  >> Linux基礎 >> 關於Linux

uclinux-2008R1-RC8(bf561) 移植到 VDSP5(23):spinlock.h 的空白起點

asm/include 目錄下有一個 spinlock.h,按道理該在這裡實作 __raw_spin_lock 這一類自旋鎖基本操作,但目前的內容只是一句編譯錯誤:

#ifndef __BFIN_SPINLOCK_H
#define __BFIN_SPINLOCK_H
//
#error blackfin architecture does not support SMP spin lock yet
//
#endif
//

原作者用 #error 明白地表示:blackfin 這條路徑還不支援 SMP 自旋鎖。移植的當下先把 #error 拿掉讓編譯能過,真正的實作留到後面補上。

Copyright © Linux教程網 All Rights Reserved