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-18 14:35:14 +02:00
2008-07-22 10:43:44 +02:00
2008-01-30 13:34:07 +01:00
2008-05-23 20:33:28 +02:00
2008-07-21 21:35:38 +02:00
2008-04-17 17:41:33 +02:00
2008-07-09 09:14:12 +02:00
2007-10-17 20:17:13 +02:00
2008-04-19 19:19:54 +02:00
2008-02-04 16:48:04 +01:00
2007-10-17 20:17:15 +02:00
2008-07-16 12:15:17 -07:00
2008-07-08 13:10:58 +02:00
2007-10-17 20:17:08 +02:00
2008-05-25 08:58:35 +02:00
2008-07-09 09:13:59 +02:00
2008-07-14 11:37:46 +02:00
2008-05-01 08:03:58 -07:00
2008-07-18 14:10:27 +02:00
2007-10-17 20:17:08 +02:00
2007-10-17 20:17:21 +02:00
2008-07-11 11:00:54 +02:00
2008-07-08 10:38:19 +02:00
2008-07-09 07:43:25 +02:00
2008-01-30 13:33:14 +01:00
2008-01-30 13:30:28 +01:00
2008-07-16 00:29:07 +02:00
2008-05-12 21:28:05 +02:00
2008-01-30 13:30:16 +01:00
2008-05-24 11:22:12 +02:00
2008-07-26 12:00:04 -07:00
2008-04-17 20:05:37 +02:00
2007-10-17 20:16:47 +02:00
2008-01-30 13:31:55 +01:00
2007-10-17 20:26:15 +02:00
2008-07-08 13:10:31 +02:00
2008-07-08 13:10:31 +02:00
2008-07-08 13:10:31 +02:00
2008-01-30 13:31:43 +01:00
2008-07-08 12:24:13 +02:00
2007-10-23 22:37:24 +02:00
2008-06-10 15:52:07 +02:00
2008-07-08 13:10:24 +02:00
2008-04-17 17:40:58 +02:00
2008-07-13 08:19:45 +02:00
2008-04-19 19:19:55 +02:00
2008-07-08 11:31:25 +02:00
2008-07-22 10:43:45 +02:00
2008-07-26 12:00:05 -07:00
2008-07-16 12:15:17 -07:00
2008-06-02 12:48:23 +02:00
2008-05-25 08:58:30 +02:00
2007-10-17 20:17:08 +02:00
2008-05-25 07:09:47 +02:00
2007-10-17 20:17:08 +02:00
2008-04-19 19:19:57 +02:00
2008-06-18 12:27:03 +02:00
2007-10-17 20:17:08 +02:00
2007-10-23 22:37:24 +02:00
2008-07-18 17:59:13 +02:00
2008-07-16 10:55:07 +02:00
2008-07-08 15:49:08 +02:00
2007-10-23 22:37:24 +02:00
2007-10-23 22:37:24 +02:00
2008-06-18 12:27:03 +02:00
2008-02-06 10:41:02 -08:00
2007-10-17 20:26:18 +02:00
2008-07-18 18:51:57 +02:00
2008-07-09 07:43:27 +02:00
2008-07-26 12:00:06 -07:00
2008-04-26 17:35:46 +02:00
2007-10-17 20:32:38 +02:00
2008-06-02 12:48:23 +02:00
2008-06-18 12:27:03 +02:00
2008-06-18 12:27:03 +02:00