Yet again, in types.h there is strictly rcu_head where they have used
__aligned(size of(void *))
I can see that __aligned is defined in posix/arch and compat/freebsd_network
I haven't included any of those and am getting an error "expected
declaration specifiers or '...' before 'sizeof' "
A Google search gave me possible reasons being, syntax errors and circular
dependencies. I checked for both, found none.
Help?
On 09-Jun-2017 7:55 PM, "Vivek Roy" <vivekroyandroid@xxxxxxxxx> wrote:
Great, thanks.
On 09-Jun-2017 7:13 PM, "Rene Gollent" <anevilyak@xxxxxxxxx> wrote:
On Fri, Jun 9, 2017 at 9:35 AM, Vivek Roy <vivekroyandroid@xxxxxxxxx>
wrote:
Yet another include problem. The types.h in FreeBSD'snot
linuxkpi/common/include/asm includes sys/types.h . The one in Haiku is
good enough for it, specifically vm_paddr_t. What is the best thing todo
here?
The equivalent type on Haiku is phys_addr_t (
http://xref.plausible.coop/source/xref/haiku/headers/os/supp
ort/SupportDefs.h#60
). As such, the simplest solution here would probably be to create a
typedef alias in your adapted compatibility headers to map vm_paddr_t
to phys_addr_t, unless someone has a better suggestion.
Regards,
Rene