[Click] Minimizing patch size
Philip Prindeville
philipp_subx at redfish-solutions.com
Tue Jan 4 20:35:03 EST 2011
On 1/4/11 12:25 PM, Joonwoo Park wrote:
> 1 #include<iostream>
> 2
> 3 extern "C"
> 4 {
> 5 struct keyword {
> 6 int new;
> 7 };
> 8 }
> 9
> 10 int main()
> 11 {
> 12 return 0;
> 13 }
I took that and modified it as:
#include<iostream>
extern "C"
{
#include<sys/types.h>
void load_ldt(int32_t ldt)
{
asm volatile("lldt %0"::"m" (ldt));
}
}
int main()
{
return 0;
}
and it compiled fine.
So that solves part of the problem.
-Philip
More information about the click
mailing list