Remove (un)likely from the kernel interface (XCC)
authorBarret Rhoden <brho@cs.berkeley.edu>
Tue, 20 Oct 2015 19:53:55 +0000 (15:53 -0400)
committerBarret Rhoden <brho@cs.berkeley.edu>
Wed, 28 Oct 2015 16:05:14 +0000 (12:05 -0400)
commitc82e32a011bbc47ff179ddae3c22442d1eedd5c5
treeb611794d0fd82c69bfd8ab1dab1e2f9719cb7363
parent4140c862931394fabe2bbd8e38174c5875f8d511
Remove (un)likely from the kernel interface (XCC)

Unfortunately, some user libraries out there also #define likely and
unlikely, and those include both ros/common.h and parlib/common.h.
Since we're not using likely/unlikely as part of the kernel interface, I
don't mind moving it out of ros/.  But it's more unfortunate that we
can't put it in a parlib header too.

Reinstall your kernel headers.

Signed-off-by: Barret Rhoden <brho@cs.berkeley.edu>
kern/include/common.h
kern/include/compiler.h [new file with mode: 0644]
kern/include/ros/common.h
kern/include/ros/compiler.h [deleted file]
user/vmm/include/virtio.h