FUJITA Tomonori 8978b74253 generic, x86: fix add iommu_num_pages helper function
This IOMMU helper function doesn't work for some architectures:

  http://marc.info/?l=linux-kernel&m=121699304403202&w=2

It also breaks POWER and SPARC builds:

  http://marc.info/?l=linux-kernel&m=121730388001890&w=2

Currently, only x86 IOMMUs use this so let's move it to x86 for
now.

Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2008-07-29 12:12:48 +02:00
..
2008-07-25 10:53:26 -07:00
2008-07-24 10:47:33 -07:00
2008-06-06 11:29:10 -07:00
2008-07-26 12:00:07 -07:00
2008-04-29 08:11:16 -07:00
2008-05-14 19:11:14 -07:00
2008-07-26 12:00:07 -07:00
2008-07-26 12:00:07 -07:00
2008-07-25 10:53:29 -07:00
2008-05-18 23:35:43 -05:00
2008-07-26 12:00:10 -07:00
2008-07-26 12:00:07 -07:00
2008-07-26 12:00:10 -07:00
2008-07-26 12:00:10 -07:00
2008-07-22 19:24:31 +10:00